Exception: YogaPants::Client::HTTPRequestError
- Inherits:
-
RequestError
- Object
- RuntimeError
- RequestError
- YogaPants::Client::HTTPRequestError
- Defined in:
- lib/yoga_pants/client.rb
Instance Attribute Summary collapse
-
#http_error ⇒ Object
readonly
Returns the value of attribute http_error.
Instance Method Summary collapse
-
#initialize(message, http_error) ⇒ HTTPRequestError
constructor
A new instance of HTTPRequestError.
Constructor Details
#initialize(message, http_error) ⇒ HTTPRequestError
Returns a new instance of HTTPRequestError.
113 114 115 116 |
# File 'lib/yoga_pants/client.rb', line 113 def initialize(, http_error) super() @http_error = http_error end |
Instance Attribute Details
#http_error ⇒ Object (readonly)
Returns the value of attribute http_error.
111 112 113 |
# File 'lib/yoga_pants/client.rb', line 111 def http_error @http_error end |