Exception: CredentialAuthorization::SufficientPermission

Inherits:
StandardError
  • Object
show all
Defined in:
lib/credential_authorization/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(permission) ⇒ SufficientPermission

Returns a new instance of SufficientPermission.



9
10
11
# File 'lib/credential_authorization/errors.rb', line 9

def initialize(permission)
  super("Enough permissions for (#{permission}).")
end