Exception: Simple::Authorisation::NoSettingsForRoute
- Inherits:
-
Exception
- Object
- Exception
- Simple::Authorisation::NoSettingsForRoute
- Defined in:
- lib/simple-authorisation/no_setting_for_route.rb
Instance Method Summary collapse
-
#initialize(route_name) ⇒ NoSettingsForRoute
constructor
A new instance of NoSettingsForRoute.
- #message ⇒ Object
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
#message ⇒ Object
8 9 10 |
# File 'lib/simple-authorisation/no_setting_for_route.rb', line 8 def "No settings for route #{@route_name}" end |