Exception: Pendragon::NotFound
- Inherits:
-
ResponseError
- Object
- StandardError
- ResponseError
- Pendragon::NotFound
- Defined in:
- lib/pendragon/error.rb
Overview
A class for NotFound response
Instance Method Summary collapse
Methods inherited from ResponseError
Constructor Details
This class inherits a constructor from Pendragon::ResponseError
Instance Method Details
#body ⇒ Object
46 47 48 |
# File 'lib/pendragon/error.rb', line 46 def body @body ||= "Not Found" end |
#status ⇒ Object
42 43 44 |
# File 'lib/pendragon/error.rb', line 42 def status @status ||= 404 end |