Sha256: 45b41fd615d6e244b1723ced821a1211b5e89027e008a537d0225188af23862a

Contents?: true

Size: 1017 Bytes

Versions: 4

Compression:

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

    extend self
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pact_broker-2.83.0 lib/pact_broker/repositories.rb
pact_broker-2.82.0 lib/pact_broker/repositories.rb
pact_broker-2.81.0 lib/pact_broker/repositories.rb
pact_broker-2.80.0 lib/pact_broker/repositories.rb