Exception: Dancan::NotAuthorizedError

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

Instance Attribute Summary collapse

Instance Attribute Details

#policyObject

Returns the value of attribute policy.



11
12
13
# File 'lib/dancan.rb', line 11

def policy
  @policy
end

#recordObject

Returns the value of attribute record.



11
12
13
# File 'lib/dancan.rb', line 11

def record
  @record
end

#rolesObject

Returns the value of attribute roles.



11
12
13
# File 'lib/dancan.rb', line 11

def roles
  @roles
end