Class: PactBroker::DefaultPolicy::Scope
- Inherits:
-
Object
- Object
- PactBroker::DefaultPolicy::Scope
- Defined in:
- lib/pact_broker/policies.rb
Instance Method Summary collapse
-
#initialize(user, scope) ⇒ Scope
constructor
A new instance of Scope.
- #resolve ⇒ Object
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
#resolve ⇒ Object
36 37 38 |
# File 'lib/pact_broker/policies.rb', line 36 def resolve scope end |