Exception: Stove::BadResponse
- Defined in:
- lib/stove/error.rb
Instance Method Summary collapse
-
#initialize(response) ⇒ BadResponse
constructor
A new instance of BadResponse.
- #message ⇒ Object
Methods inherited from Error
Constructor Details
#initialize(response) ⇒ BadResponse
Returns a new instance of BadResponse.
101 102 103 |
# File 'lib/stove/error.rb', line 101 def initialize(response) @response = response end |
Instance Method Details
#message ⇒ Object
105 106 107 108 |
# File 'lib/stove/error.rb', line 105 def "The following errors occured when making the request:\n" << @response.parsed_response end |