Sha256: 06df7971fafeb5c58a3e58571c222bb9f0eeffda59de4a1ef5f3286915317ac4

Contents?: true

Size: 437 Bytes

Versions: 3

Compression:

Stored size: 437 Bytes

Contents

# frozen_string_literal: true

require_relative "base"

module Sbmt
  module Pact
    module Provider
      module PactConfig
        class Http < Base
          attr_reader :http_port

          def initialize(provider_name:, opts: {})
            super

            @http_port = opts[:http_port] || 3000
          end

          def new_verifier
            HttpVerifier.new(self)
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sbmt-pact-0.12.2 lib/sbmt/pact/provider/pact_config/http.rb
sbmt-pact-0.12.1 lib/sbmt/pact/provider/pact_config/http.rb
sbmt-pact-0.12.0 lib/sbmt/pact/provider/pact_config/http.rb