Exception: Zoop::ResponseError
- Defined in:
- lib/zoop/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#request_params ⇒ Object
readonly
Returns the value of attribute request_params.
Instance Method Summary collapse
-
#initialize(request_params, error) ⇒ ResponseError
constructor
A new instance of ResponseError.
Constructor Details
#initialize(request_params, error) ⇒ ResponseError
Returns a new instance of ResponseError.
20 21 22 23 |
# File 'lib/zoop/errors.rb', line 20 def initialize(request_params, error) @request_params, @error = request_params, error super @error end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
18 19 20 |
# File 'lib/zoop/errors.rb', line 18 def error @error end |
#request_params ⇒ Object (readonly)
Returns the value of attribute request_params.
18 19 20 |
# File 'lib/zoop/errors.rb', line 18 def request_params @request_params end |