Sha256: 628b77a52a81b4a6456036d485df83ecac8b698547a57043a4a6cd39b8e78f00
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 Grpc < 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] || 3009 end def new_interaction(description = nil) GrpcInteractionBuilder.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/grpc.rb |
sbmt-pact-0.12.1 | lib/sbmt/pact/consumer/pact_config/grpc.rb |
sbmt-pact-0.12.0 | lib/sbmt/pact/consumer/pact_config/grpc.rb |