Class: SmsBroker::Client::Response::OpenMarket::SendMessageSuccess
- Inherits:
-
Success
- Object
- Success
- SmsBroker::Client::Response::OpenMarket::SendMessageSuccess
- Defined in:
- lib/sms_broker/client/response/open_market/send_message_success.rb
Instance Attribute Summary collapse
-
#location ⇒ Object
readonly
Returns the value of attribute location.
-
#request_id ⇒ Object
readonly
Returns the value of attribute request_id.
Attributes inherited from Success
Instance Method Summary collapse
-
#initialize(open_market_response) ⇒ SendMessageSuccess
constructor
A new instance of SendMessageSuccess.
Methods inherited from Success
#from, #message_id, #success?, #to
Constructor Details
#initialize(open_market_response) ⇒ SendMessageSuccess
Returns a new instance of SendMessageSuccess.
9 10 11 12 13 |
# File 'lib/sms_broker/client/response/open_market/send_message_success.rb', line 9 def initialize(open_market_response) super :open_market, open_market_response, serialize(open_market_response) set_attributes(open_market_response) end |
Instance Attribute Details
#location ⇒ Object (readonly)
Returns the value of attribute location.
7 8 9 |
# File 'lib/sms_broker/client/response/open_market/send_message_success.rb', line 7 def location @location end |
#request_id ⇒ Object (readonly)
Returns the value of attribute request_id.
7 8 9 |
# File 'lib/sms_broker/client/response/open_market/send_message_success.rb', line 7 def request_id @request_id end |