Exception: Garage::BadRequest
- Defined in:
- lib/garage/exceptions.rb
Instance Attribute Summary
Attributes inherited from HTTPError
Instance Method Summary collapse
-
#initialize(error) ⇒ BadRequest
constructor
A new instance of BadRequest.
Methods inherited from HTTPError
Constructor Details
#initialize(error) ⇒ BadRequest
Returns a new instance of BadRequest.
10 11 12 13 |
# File 'lib/garage/exceptions.rb', line 10 def initialize(error) @status = :bad_request super(error) end |