Sha256: 9403cb3eaebeae0baf7d1e151aae0dacb6f2d7ffcbcfb6574f8f2a943c59db5c

Contents?: true

Size: 798 Bytes

Versions: 18

Compression:

Stored size: 798 Bytes

Contents

require 'pact_broker/domain'
require 'pact_broker/pacts/repository'

module PactBroker
  module Repositories
    def pacticipant_repository
      require 'pact_broker/pacticipants/repository'
      Pacticipants::Repository.new
    end

    def version_repository
      require 'pact_broker/versions/repository'
      Versions::Repository.new
    end

    def pact_repository
      PactBroker::Pacts::Repository.new
    end

    def tag_repository
      require 'pact_broker/tags/repository'
      Tags::Repository.new
    end

    def webhook_repository
      require 'pact_broker/webhooks/repository'
      Webhooks::Repository.new
    end

    def verification_repository
      require 'pact_broker/verifications/repository'
      Verifications::Repository.new
    end

    extend self
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
pact_broker-2.3.0 lib/pact_broker/repositories.rb
pact_broker-2.2.0 lib/pact_broker/repositories.rb
pact_broker-2.1.1 lib/pact_broker/repositories.rb
pact_broker-2.1.0 lib/pact_broker/repositories.rb
pact_broker-2.0.5 lib/pact_broker/repositories.rb
pact_broker-2.0.4 lib/pact_broker/repositories.rb
pact_broker-2.0.3 lib/pact_broker/repositories.rb
pact_broker-2.0.2 lib/pact_broker/repositories.rb
pact_broker-2.0.1 lib/pact_broker/repositories.rb
pact_broker-2.0.0 lib/pact_broker/repositories.rb
pact_broker-2.0.0.beta.8 lib/pact_broker/repositories.rb
pact_broker-2.0.0.beta.7 lib/pact_broker/repositories.rb
pact_broker-2.0.0.beta.6 lib/pact_broker/repositories.rb
pact_broker-2.0.0.beta.5 lib/pact_broker/repositories.rb
pact_broker-2.0.0.beta.4 lib/pact_broker/repositories.rb
pact_broker-2.0.0.beta.3 lib/pact_broker/repositories.rb
pact_broker-2.0.0.beta.2 lib/pact_broker/repositories.rb
pact_broker-2.0.0.beta.1 lib/pact_broker/repositories.rb