Class: Telesign::API::APIErrorResponse
- Inherits:
-
Object
- Object
- Telesign::API::APIErrorResponse
- Defined in:
- lib/telesign/api/default.rb
Overview
/APIErrorResponse
code - SOAP::SOAPInt
- SOAP::SOAPString
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(code = nil, message = nil) ⇒ APIErrorResponse
constructor
A new instance of APIErrorResponse.
Constructor Details
#initialize(code = nil, message = nil) ⇒ APIErrorResponse
Returns a new instance of APIErrorResponse.
36 37 38 39 |
# File 'lib/telesign/api/default.rb', line 36 def initialize(code = nil, = nil) @code = code @message = end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
33 34 35 |
# File 'lib/telesign/api/default.rb', line 33 def code @code end |
#message ⇒ Object
Returns the value of attribute message.
34 35 36 |
# File 'lib/telesign/api/default.rb', line 34 def @message end |