Class: Kiosk::ResourceNotFound
- Inherits:
-
ActiveResource::ResourceNotFound
- Object
- ActiveResource::ResourceNotFound
- Kiosk::ResourceNotFound
- Defined in:
- lib/kiosk/resource_not_found.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(message) ⇒ ResourceNotFound
constructor
A new instance of ResourceNotFound.
- #to_s ⇒ Object
Constructor Details
#initialize(message) ⇒ ResourceNotFound
Returns a new instance of ResourceNotFound.
5 6 7 |
# File 'lib/kiosk/resource_not_found.rb', line 5 def initialize() super(404, ) end |
Instance Method Details
#to_s ⇒ Object
9 10 11 |
# File 'lib/kiosk/resource_not_found.rb', line 9 def to_s @message end |