Class: SmsBroker::Client::Response::NexmoVoiceError

Inherits:
Error
  • Object
show all
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

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