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