Exception: Vonage::ServiceError
- Extended by:
- T::Sig
- Defined in:
- lib/vonage/service_error.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(message = nil, response:) ⇒ ServiceError
constructor
A new instance of ServiceError.
Constructor Details
#initialize(message = nil, response:) ⇒ ServiceError
Returns a new instance of ServiceError.
11 12 13 14 |
# File 'lib/vonage/service_error.rb', line 11 def initialize( = nil, response:) super() @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
8 9 10 |
# File 'lib/vonage/service_error.rb', line 8 def response @response end |