Module: Sbmt::Pact

Defined in:
lib/sbmt/pact.rb,
lib/sbmt/pact/railtie.rb,
lib/sbmt/pact/version.rb,
lib/sbmt/pact/consumer.rb,
lib/sbmt/pact/matchers.rb,
lib/sbmt/pact/provider.rb,
lib/sbmt/pact/configuration.rb,
lib/sbmt/pact/matchers/base.rb,
lib/sbmt/pact/native/logger.rb,
lib/sbmt/pact/matchers/v2/type.rb,
lib/sbmt/pact/matchers/v3/date.rb,
lib/sbmt/pact/matchers/v3/each.rb,
lib/sbmt/pact/matchers/v3/time.rb,
lib/sbmt/pact/matchers/v2/regex.rb,
lib/sbmt/pact/matchers/v3/number.rb,
lib/sbmt/pact/matchers/v3/boolean.rb,
lib/sbmt/pact/matchers/v3/decimal.rb,
lib/sbmt/pact/matchers/v3/include.rb,
lib/sbmt/pact/matchers/v3/integer.rb,
lib/sbmt/pact/consumer/mock_server.rb,
lib/sbmt/pact/consumer/pact_config.rb,
lib/sbmt/pact/matchers/v1/equality.rb,
lib/sbmt/pact/matchers/v4/each_key.rb,
lib/sbmt/pact/provider/gruf_server.rb,
lib/sbmt/pact/provider/http_server.rb,
lib/sbmt/pact/provider/pact_config.rb,
lib/sbmt/pact/matchers/v3/date_time.rb,
lib/sbmt/pact/matchers/v4/not_empty.rb,
lib/sbmt/pact/matchers/v4/each_value.rb,
lib/sbmt/pact/provider/base_verifier.rb,
lib/sbmt/pact/provider/grpc_verifier.rb,
lib/sbmt/pact/provider/http_verifier.rb,
lib/sbmt/pact/native/blocking_verifier.rb,
lib/sbmt/pact/consumer/pact_config/base.rb,
lib/sbmt/pact/consumer/pact_config/grpc.rb,
lib/sbmt/pact/consumer/pact_config/http.rb,
lib/sbmt/pact/provider/pact_config/base.rb,
lib/sbmt/pact/provider/pact_config/grpc.rb,
lib/sbmt/pact/provider/pact_config/http.rb,
lib/sbmt/pact/matchers/v4/each_key_value.rb,
lib/sbmt/pact/provider/pact_broker_proxy.rb,
lib/sbmt/pact/provider/pact_config/async.rb,
lib/sbmt/pact/consumer/pact_config/message.rb,
lib/sbmt/pact/consumer/interaction_contents.rb,
lib/sbmt/pact/provider/async_message_verifier.rb,
lib/sbmt/pact/provider/provider_server_runner.rb,
lib/sbmt/pact/provider/provider_state_servlet.rb,
lib/sbmt/pact/consumer/grpc_interaction_builder.rb,
lib/sbmt/pact/consumer/http_interaction_builder.rb,
lib/sbmt/pact/provider/message_provider_servlet.rb,
lib/sbmt/pact/provider/pact_broker_proxy_runner.rb,
lib/sbmt/pact/consumer/message_interaction_builder.rb,
lib/sbmt/pact/provider/provider_state_configuration.rb

Defined Under Namespace

Modules: Consumer, Matchers, Native, Provider Classes: Configuration, Error, FfiError, ImplementationRequired, Railtie

Constant Summary collapse

VERSION =
"0.12.0"

Class Method Summary collapse

Class Method Details

.configurationObject



32
33
34
# File 'lib/sbmt/pact.rb', line 32

def self.configuration
  @configuration ||= Sbmt::Pact::Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



28
29
30
# File 'lib/sbmt/pact.rb', line 28

def self.configure
  yield configuration if block_given?
end