Class: PactBroker::DefaultPolicy::Scope

Inherits:
Object
  • Object
show all
Defined in:
lib/pact_broker/policies.rb

Instance Method Summary collapse

Constructor Details

#initialize(user, scope) ⇒ Scope

Returns a new instance of Scope.



31
32
33
34
# File 'lib/pact_broker/policies.rb', line 31

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

Instance Method Details

#resolveObject



36
37
38
# File 'lib/pact_broker/policies.rb', line 36

def resolve
  scope
end