Method: Pageflow::MembershipPolicy::Scope#initialize

Defined in:
app/policies/pageflow/membership_policy.rb

#initialize(user, scope) ⇒ Scope

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Scope.



8
9
10
11
# File 'app/policies/pageflow/membership_policy.rb', line 8

def initialize(user, scope)
  @user = user
  @scope = scope
end