Exception: OkraServerError
- Inherits:
-
StandardError
- Object
- StandardError
- OkraServerError
- Defined in:
- lib/okra/error.rb
Defined Under Namespace
Classes: ArgumentError, OkraBadKeyError
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response = nil) ⇒ OkraServerError
constructor
A new instance of OkraServerError.
Constructor Details
#initialize(response = nil) ⇒ OkraServerError
Returns a new instance of OkraServerError.
4 5 6 |
# File 'lib/okra/error.rb', line 4 def initialize(response=nil) @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
2 3 4 |
# File 'lib/okra/error.rb', line 2 def response @response end |