Class: FabApi::Endpoints::DeliverEmail

Inherits:
FabApi::Endpoint show all
Includes:
PartnerApi::Endpoints::Initializer
Defined in:
lib/fab_api/endpoints/deliver_email.rb

Instance Method Summary collapse

Methods included from PartnerApi::Endpoints::Initializer

prepended

Methods inherited from PartnerApi::Endpoints::Base

#call

Constructor Details

#initialize(partner_user_id:, notification_id:, subject:, message:) ⇒ DeliverEmail

Returns a new instance of DeliverEmail.



8
9
10
11
12
13
# File 'lib/fab_api/endpoints/deliver_email.rb', line 8

def initialize(partner_user_id:, notification_id:, subject:, message:)
  @partner_user_id = partner_user_id
  @notification_id = notification_id
  @subject = subject
  @message = message
end