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