Class: SmsBroker::Client::Response::OpenMarket::SendMessageSuccess

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

Instance Attribute Summary collapse

Attributes inherited from Success

#raw, #serialized, #service

Instance Method Summary collapse

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

#locationObject (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_idObject (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