Exception: Simple::Authorisation::NoSettingsForRoute

Inherits:
Exception
  • Object
show all
Defined in:
lib/simple-authorisation/no_setting_for_route.rb

Instance Method Summary collapse

Constructor Details

#initialize(route_name) ⇒ NoSettingsForRoute

Returns a new instance of NoSettingsForRoute.



4
5
6
# File 'lib/simple-authorisation/no_setting_for_route.rb', line 4

def initialize(route_name)
  @route_name = route_name
end

Instance Method Details

#messageObject



8
9
10
# File 'lib/simple-authorisation/no_setting_for_route.rb', line 8

def message
  "No settings for route #{@route_name}"
end