Sha256: 9990eed936591a65696fe30588d664ad942f586205811ebd882fbc6024316eae
Contents?: true
Size: 580 Bytes
Versions: 3
Compression:
Stored size: 580 Bytes
Contents
# frozen_string_literal: true require_relative "base" module Sbmt module Pact module Consumer module PactConfig class Http < Base attr_reader :mock_host, :mock_port def initialize(consumer_name:, provider_name:, opts: {}) super @mock_host = opts[:mock_host] || "127.0.0.1" @mock_port = opts[:mock_port] || 3000 end def new_interaction(description = nil) HttpInteractionBuilder.new(self, description: description) 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/consumer/pact_config/http.rb |
sbmt-pact-0.12.1 | lib/sbmt/pact/consumer/pact_config/http.rb |
sbmt-pact-0.12.0 | lib/sbmt/pact/consumer/pact_config/http.rb |