Sha256: fcdcb91e878c4a8adc571f6fe232183dfa0a9bb0d85104c0b95934f4fc08d255

Contents?: true

Size: 1.15 KB

Versions: 8

Compression:

Stored size: 1.15 KB

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 label_repository
      require "pact_broker/labels/repository"
      Labels::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

    def matrix_repository
      require "pact_broker/matrix/repository"
      Matrix::Repository.new
    end

    def branch_version_repository
      require "pact_broker/versions/branch_version_repository"
      PactBroker::Versions::BranchVersionRepository.new
    end

    extend self
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
pact_broker-2.89.1 lib/pact_broker/repositories.rb
pact_broker-2.89.0 lib/pact_broker/repositories.rb
pact_broker-2.88.0 lib/pact_broker/repositories.rb
pact_broker-2.87.0 lib/pact_broker/repositories.rb
pact_broker-2.86.0 lib/pact_broker/repositories.rb
pact_broker-2.85.1 lib/pact_broker/repositories.rb
pact_broker-2.85.0 lib/pact_broker/repositories.rb
pact_broker-2.84.0 lib/pact_broker/repositories.rb