class AfTalk::SendMessageResponse
Attributes
message[R]
recipients[R]
Public Class Methods
new(response)
click to toggle source
Calls superclass method
AfTalk::Response::new
# File lib/aftalk/responses/send_message_response.rb, line 5 def initialize(response) super(response) if success? @message = body_data[:Message] @recipients = body_data[:Recipients].map do |recipient| SmsMessageStatus.new(recipient) end end end
Private Instance Methods
body_data()
click to toggle source
# File lib/aftalk/responses/send_message_response.rb, line 17 def body_data body[:SMSMessageData] end