Class: SmsBroker::Client::Response::NexmoError
- Defined in:
- lib/sms_broker/client/response/nexmo_error.rb
Constant Summary collapse
- SENDER_ID_NOT_SUPPORTED =
'15'.freeze
Instance Attribute Summary
Attributes inherited from Error
#response, #serialized, #service
Instance Method Summary collapse
-
#initialize(nexmo_response) ⇒ NexmoError
constructor
A new instance of NexmoError.
Methods inherited from Error
#invalid_sender_id?, #success?
Constructor Details
#initialize(nexmo_response) ⇒ NexmoError
Returns a new instance of NexmoError.
7 8 9 |
# File 'lib/sms_broker/client/response/nexmo_error.rb', line 7 def initialize(nexmo_response) super :nexmo, nexmo_response, serialize_error_response(nexmo_response) end |