Class: Sbmt::Pact::Provider::PactConfig::Async
- Defined in:
- lib/sbmt/pact/provider/pact_config/async.rb
Constant Summary
Constants inherited from Base
Base::PACT_BROKER_FILTER_TYPE_ASYNC, Base::PACT_BROKER_FILTER_TYPE_GRPC, Base::PACT_BROKER_FILTER_TYPE_HTTP, Base::PACT_BROKER_FILTER_TYPE_NONE, Base::PACT_BROKER_FILTER_TYPE_SYNC
Instance Attribute Summary
Attributes inherited from Base
#broker_password, #broker_url, #broker_username, #consumer_branch, #consumer_name, #consumer_version, #log_level, #pact_proxy_port, #provider_name, #provider_setup_port, #provider_setup_server, #provider_version, #verify_only
Instance Method Summary collapse
Methods inherited from Base
#after_teardown, #before_setup, #initialize, #message_setup_url, #new_provider_state, #pact_broker_proxy_url, #provider_setup_url, #start_servers, #stop_servers
Constructor Details
This class inherits a constructor from Sbmt::Pact::Provider::PactConfig::Base
Instance Method Details
#filter_type ⇒ Object
14 15 16 |
# File 'lib/sbmt/pact/provider/pact_config/async.rb', line 14 def filter_type PACT_BROKER_FILTER_TYPE_ASYNC end |
#new_message_handler(name, opts: {}, &block) ⇒ Object
10 11 12 |
# File 'lib/sbmt/pact/provider/pact_config/async.rb', line 10 def (name, opts: {}, &block) provider_setup_server.(name, &block) end |
#new_verifier ⇒ Object
18 19 20 |
# File 'lib/sbmt/pact/provider/pact_config/async.rb', line 18 def new_verifier AsyncMessageVerifier.new(self) end |