Method: Pageflow::MembershipPolicy::Scope#initialize
- Defined in:
- app/policies/pageflow/membership_policy.rb
#initialize(user, scope) ⇒ Scope
Returns a new instance of Scope.
6 7 8 9 |
# File 'app/policies/pageflow/membership_policy.rb', line 6 def initialize(user, scope) @user = user @scope = scope end |