Class: SMSApi::SMS::Message::TwoWay

Inherits:
SMSApi::SMS::Message show all
Defined in:
lib/client_smsapi/sms/message/2way.rb

Constant Summary collapse

FROM =
'2way'.freeze

Instance Attribute Summary

Attributes inherited from SMSApi::SMS::Message

#body, #from, #to

Instance Method Summary collapse

Methods inherited from SMSApi::SMS::Message

#to_params, #valid?

Constructor Details

#initialize(to:, from: FROM, body:) ⇒ TwoWay

Returns a new instance of TwoWay.



7
8
9
10
11
# File 'lib/client_smsapi/sms/message/2way.rb', line 7

def initialize(to:, from: FROM, body:)
  super

  @from = FROM
end