Sha256: 711a069ba4084afe956b95f0ec8bf8090527bef8d9255485c66784f1f66eafc1

Contents?: true

Size: 668 Bytes

Versions: 6

Compression:

Stored size: 668 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

    extend self
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pact_broker-1.18.0 lib/pact_broker/repositories.rb
pact_broker-1.18.0.beta.1 lib/pact_broker/repositories.rb
pact_broker-1.17.2 lib/pact_broker/repositories.rb
pact_broker-1.17.1 lib/pact_broker/repositories.rb
pact_broker-1.17.0 lib/pact_broker/repositories.rb
pact_broker-1.16.0 lib/pact_broker/repositories.rb