Exception: Pendragon::BadRequest
- Inherits:
-
ResponseError
- Object
- StandardError
- ResponseError
- Pendragon::BadRequest
- Defined in:
- lib/pendragon/error.rb
Overview
A class for BadRequest response
Instance Method Summary collapse
Methods inherited from ResponseError
Constructor Details
This class inherits a constructor from Pendragon::ResponseError
Instance Method Details
#body ⇒ Object
35 36 37 |
# File 'lib/pendragon/error.rb', line 35 def body @body ||= "Bad Request" end |
#status ⇒ Object
31 32 33 |
# File 'lib/pendragon/error.rb', line 31 def status @status ||= 400 end |