Class: SmsBroker::Client::Response::OpenMarket::MessageStatusSuccess

Inherits:
MessageStatusSuccess show all
Defined in:
lib/sms_broker/client/response/open_market/message_status_success.rb

Instance Attribute Summary collapse

Attributes inherited from MessageStatusSuccess

#raw, #serialized, #service

Instance Method Summary collapse

Methods inherited from MessageStatusSuccess

#delivery_date, #message_id, #status, #status_code, #success?, #to

Constructor Details

#initialize(open_market_response) ⇒ MessageStatusSuccess

Returns a new instance of MessageStatusSuccess.



9
10
11
12
# File 'lib/sms_broker/client/response/open_market/message_status_success.rb', line 9

def initialize(open_market_response)
  super :open_market, open_market_response, serialize(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/message_status_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/message_status_success.rb', line 7

def request_id
  @request_id
end