Class: SmsBroker::Client::Response::OpenMarket::Error

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

Instance Attribute Summary

Attributes inherited from Error

#response, #serialized, #service

Instance Method Summary collapse

Methods inherited from Error

#invalid_sender_id?, #success?

Constructor Details

#initialize(open_market_response) ⇒ Error

Returns a new instance of Error.



7
8
9
# File 'lib/sms_broker/client/response/open_market/error.rb', line 7

def initialize(open_market_response)
  super :open_market, open_market_response, serialize_error_response(open_market_response)
end