Exception: BlueFactory::Net::ResponseError Private
- Inherits:
-
StandardError
- Object
- StandardError
- BlueFactory::Net::ResponseError
- Defined in:
- lib/blue_factory/tasks/support.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Thrown when a HTTP response is not 200 OK.
Instance Attribute Summary collapse
- #response ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(response, message) ⇒ ResponseError
constructor
private
A new instance of ResponseError.
Constructor Details
#initialize(response, message) ⇒ ResponseError
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of ResponseError.
20 21 22 23 |
# File 'lib/blue_factory/tasks/support.rb', line 20 def initialize(response, ) @response = response super() end |
Instance Attribute Details
#response ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
18 19 20 |
# File 'lib/blue_factory/tasks/support.rb', line 18 def response @response end |