Exception: Pundit::NotAuthorizedError

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

Instance Attribute Summary collapse

Instance Attribute Details

#policyObject

Returns the value of attribute policy.



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

def policy
  @policy
end

#queryObject

Returns the value of attribute query.



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

def query
  @query
end

#recordObject

Returns the value of attribute record.



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

def record
  @record
end