Exception: HalApi::Errors::NotFound
- Defined in:
- lib/hal_api/errors.rb
Instance Attribute Summary
Attributes inherited from ApiError
Instance Method Summary collapse
-
#initialize(message = nil) ⇒ NotFound
constructor
A new instance of NotFound.
Constructor Details
#initialize(message = nil) ⇒ NotFound
Returns a new instance of NotFound.
23 24 25 |
# File 'lib/hal_api/errors.rb', line 23 def initialize( = nil) super( || "Resource Not Found", 404) end |