Exception: Vigilante::AccessDenied
- Inherits:
-
StandardError
- Object
- StandardError
- Vigilante::AccessDenied
- Includes:
- ExceptionsMixin
- Defined in:
- lib/vigilante.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(str = 'Access denied: you do not have the right permissions for the requested action.') ⇒ AccessDenied
constructor
A new instance of AccessDenied.
Constructor Details
#initialize(str = 'Access denied: you do not have the right permissions for the requested action.') ⇒ AccessDenied
Returns a new instance of AccessDenied.
18 19 20 |
# File 'lib/vigilante.rb', line 18 def initialize(str='Access denied: you do not have the right permissions for the requested action.') super(str) end |