Exception: Logan::AccessDeniedError

Inherits:
Error
  • Object
show all
Defined in:
lib/logan/errors.rb

Instance Attribute Summary

Attributes inherited from Error

#code, #message

Instance Method Summary collapse

Methods inherited from Error

#to_json

Constructor Details

#initializeAccessDeniedError

Returns a new instance of AccessDeniedError.



18
19
20
# File 'lib/logan/errors.rb', line 18

def initialize
  super :access_denied, "You are not allowed to access this resource."
end