Exception: Pundit::NotAuthorizedError
- Inherits:
-
StandardError
- Object
- StandardError
- Pundit::NotAuthorizedError
- Defined in:
- lib/pundit.rb
Instance Attribute Summary collapse
-
#policy ⇒ Object
Returns the value of attribute policy.
-
#query ⇒ Object
Returns the value of attribute query.
-
#record ⇒ Object
Returns the value of attribute record.
Instance Attribute Details
#policy ⇒ Object
Returns the value of attribute policy.
9 10 11 |
# File 'lib/pundit.rb', line 9 def policy @policy end |
#query ⇒ Object
Returns the value of attribute query.
9 10 11 |
# File 'lib/pundit.rb', line 9 def query @query end |
#record ⇒ Object
Returns the value of attribute record.
9 10 11 |
# File 'lib/pundit.rb', line 9 def record @record end |