scinote-web/app/notifications/recipients/direct_recipient.rb
2023-11-23 10:36:13 +01:00

11 lines
166 B
Ruby

# frozen_string_literal: true
class Recipients::DirectRecipient
def initialize(params)
@params = params
end
def recipients
[@params[:user]]
end
end