Exception: BN::Error::Middleware::InvalidHTTPResponse
- Defined in:
- lib/bn/error/middleware/invalid_http_response.rb
Overview
Raised when the HTTP response object given is invalid.
Instance Method Summary collapse
-
#response ⇒ #body
Get the HTTP response.
-
#response= ⇒ #body
Set the HTTP response.
- #to_s ⇒ Object
Methods included from Helpers::HasAttributes
included, #initialize, #update_attributes
Instance Method Details
#response ⇒ #body
Get the HTTP response.
|
|
# File 'lib/bn/error/middleware/invalid_http_response.rb', line 8
|
#response= ⇒ #body
Set the HTTP response.
18 |
# File 'lib/bn/error/middleware/invalid_http_response.rb', line 18 attribute(:response) |
#to_s ⇒ Object
20 21 22 |
# File 'lib/bn/error/middleware/invalid_http_response.rb', line 20 def to_s "Invalid HTTP response." end |