Class: SmsBroker::Client::Response::TwilioSuccess

Inherits:
Success
  • Object
show all
Defined in:
lib/sms_broker/client/response/twilio_success.rb

Instance Attribute Summary

Attributes inherited from Success

#raw, #serialized, #service

Instance Method Summary collapse

Methods inherited from Success

#from, #message_id, #success?, #to

Constructor Details

#initialize(twilio_response) ⇒ TwilioSuccess

Returns a new instance of TwilioSuccess.



5
6
7
# File 'lib/sms_broker/client/response/twilio_success.rb', line 5

def initialize(twilio_response)
  super :twilio, twilio_response, serialize(twilio_response)
end