Exception: DataBindings::HttpError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- DataBindings::HttpError
- Defined in:
- lib/data_bindings/converters.rb
Overview
Exception raised by invalid #*_http calls.
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
The HTTParty::Response object underlying this exception.
Instance Method Summary collapse
-
#initialize(m, response) ⇒ HttpError
constructor
A new instance of HttpError.
Constructor Details
#initialize(m, response) ⇒ HttpError
Returns a new instance of HttpError.
8 9 10 11 |
# File 'lib/data_bindings/converters.rb', line 8 def initialize(m, response) super m @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
The HTTParty::Response object underlying this exception
6 7 8 |
# File 'lib/data_bindings/converters.rb', line 6 def response @response end |