Class: Kiosk::ResourceNotFound

Inherits:
ActiveResource::ResourceNotFound
  • Object
show all
Defined in:
lib/kiosk/resource_not_found.rb

Overview

:nodoc:

Instance Method Summary collapse

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(message)
  super(404, message)
end

Instance Method Details

#to_sObject



9
10
11
# File 'lib/kiosk/resource_not_found.rb', line 9

def to_s
  @message
end