Exception: Exchanger::Operation::ResponseError
- Inherits:
-
StandardError
- Object
- StandardError
- Exchanger::Operation::ResponseError
- Defined in:
- lib/exchanger/operation.rb
Instance Attribute Summary collapse
-
#response_code ⇒ Object
readonly
Returns the value of attribute response_code.
Instance Method Summary collapse
-
#initialize(message, response_code) ⇒ ResponseError
constructor
A new instance of ResponseError.
Constructor Details
#initialize(message, response_code) ⇒ ResponseError
Returns a new instance of ResponseError.
64 65 66 67 |
# File 'lib/exchanger/operation.rb', line 64 def initialize(, response_code) super @response_code = response_code end |
Instance Attribute Details
#response_code ⇒ Object (readonly)
Returns the value of attribute response_code.
62 63 64 |
# File 'lib/exchanger/operation.rb', line 62 def response_code @response_code end |