Class: ForestLiana::Ability::Exceptions::AccessDenied
- Inherits:
-
Errors::ExpectedError
- Object
- Errors::ExpectedError
- ForestLiana::Ability::Exceptions::AccessDenied
- Defined in:
- app/services/forest_liana/ability/exceptions/access_denied.rb
Instance Method Summary collapse
-
#initialize ⇒ AccessDenied
constructor
A new instance of AccessDenied.
Constructor Details
#initialize ⇒ AccessDenied
Returns a new instance of AccessDenied.
5 6 7 8 9 10 11 12 |
# File 'app/services/forest_liana/ability/exceptions/access_denied.rb', line 5 def initialize super( 403, :forbidden, 'You don\'t have permission to access this resource', 'AccessDenied' ) end |