Sha256: 9d625f6eb9d12aae56206a6d27374be727ff0d95d51f342d87d8858444b2dd8f

Contents?: true

Size: 342 Bytes

Versions: 1

Compression:

Stored size: 342 Bytes

Contents

module PactBroker
  module Repositories
    module Scopes
      def scope_for(scope)
        PactBroker.policy_scope!(scope)
      end

      # For the times when it doesn't make sense to use the scoped class, this is a way to
      # indicate that it is an intentional use
      def unscoped(scope)
        scope
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pact_broker-2.81.0 lib/pact_broker/repositories/scopes.rb