Class: Storytime::PostPolicy::Scope
- Inherits:
-
Struct
- Object
- Struct
- Storytime::PostPolicy::Scope
- Defined in:
- app/policies/storytime/post_policy.rb
Instance Attribute Summary collapse
-
#scope ⇒ Object
Returns the value of attribute scope.
-
#user ⇒ Object
Returns the value of attribute user.
Instance Method Summary collapse
Instance Attribute Details
#scope ⇒ Object
Returns the value of attribute scope
5 6 7 |
# File 'app/policies/storytime/post_policy.rb', line 5 def scope @scope end |
#user ⇒ Object
Returns the value of attribute user
5 6 7 |
# File 'app/policies/storytime/post_policy.rb', line 5 def user @user end |