Class: Sbmt::Pact::Provider::AsyncMessageVerifier
- Inherits:
-
BaseVerifier
- Object
- BaseVerifier
- Sbmt::Pact::Provider::AsyncMessageVerifier
- Defined in:
- lib/sbmt/pact/provider/async_message_verifier.rb
Constant Summary collapse
- PROVIDER_TRANSPORT_TYPE =
"message"
- INTERACTION_FILTER_REGEX =
"^async:.+"
Constants inherited from BaseVerifier
BaseVerifier::DEFAULT_CONSUMER_SELECTORS, BaseVerifier::VERIFICATION_ERRORS
Instance Attribute Summary
Attributes inherited from BaseVerifier
Instance Method Summary collapse
-
#initialize(pact_config) ⇒ AsyncMessageVerifier
constructor
A new instance of AsyncMessageVerifier.
Methods inherited from BaseVerifier
Constructor Details
#initialize(pact_config) ⇒ AsyncMessageVerifier
Returns a new instance of AsyncMessageVerifier.
13 14 15 16 17 |
# File 'lib/sbmt/pact/provider/async_message_verifier.rb', line 13 def initialize(pact_config) super raise ArgumentError, "pact_config must be an instance of Sbmt::Pact::Provider::PactConfig::Message" unless pact_config.is_a?(::Sbmt::Pact::Provider::PactConfig::Async) end |