Exception: Crabfarm::HttpClient::HttpRequestError
- Inherits:
-
StandardError
- Object
- StandardError
- Crabfarm::HttpClient::HttpRequestError
- Extended by:
- Forwardable
- Defined in:
- lib/crabfarm/http_client.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(_response) ⇒ HttpRequestError
constructor
A new instance of HttpRequestError.
Constructor Details
#initialize(_response) ⇒ HttpRequestError
Returns a new instance of HttpRequestError.
13 14 15 16 |
# File 'lib/crabfarm/http_client.rb', line 13 def initialize(_response) @response = _response super _response. end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
11 12 13 |
# File 'lib/crabfarm/http_client.rb', line 11 def response @response end |