Exception: ZeroAuthorization::Exceptions::InvalidRolesNPrivilegesHash

Inherits:
StandardError
  • Object
show all
Defined in:
lib/zero_authorization/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(hash_in_use) ⇒ InvalidRolesNPrivilegesHash

Returns a new instance of InvalidRolesNPrivilegesHash.



29
30
31
# File 'lib/zero_authorization/exceptions.rb', line 29

def initialize(hash_in_use)
  @hash_in_use = hash_in_use
end

Instance Attribute Details

#hash_in_useObject (readonly)

Returns the value of attribute hash_in_use.



27
28
29
# File 'lib/zero_authorization/exceptions.rb', line 27

def hash_in_use
  @hash_in_use
end