Exception: Cfan122::Operation::ResponseError
- Inherits:
-
StandardError
- Object
- StandardError
- Cfan122::Operation::ResponseError
- Defined in:
- lib/cfan122/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.
44 45 46 47 |
# File 'lib/cfan122/operation.rb', line 44 def initialize , response_code super @response_code = response_code end |
Instance Attribute Details
#response_code ⇒ Object (readonly)
Returns the value of attribute response_code.
42 43 44 |
# File 'lib/cfan122/operation.rb', line 42 def response_code @response_code end |