Module: SbmtPactConsumerDsl
- Includes:
- Sbmt::Pact::Matchers
- Defined in:
- lib/sbmt/pact/rspec/support/pact_consumer_helpers.rb
Defined Under Namespace
Modules: ClassMethods
Constant Summary
Constants included from Sbmt::Pact::Matchers
Sbmt::Pact::Matchers::ANY_STRING_REGEX, Sbmt::Pact::Matchers::ISO8601_REGEX, Sbmt::Pact::Matchers::PACT_SPEC_V1, Sbmt::Pact::Matchers::PACT_SPEC_V2, Sbmt::Pact::Matchers::PACT_SPEC_V3, Sbmt::Pact::Matchers::PACT_SPEC_V4, Sbmt::Pact::Matchers::UUID_REGEX
Instance Method Summary collapse
Methods included from Sbmt::Pact::Matchers
#match_any_boolean, #match_any_decimal, #match_any_integer, #match_any_number, #match_any_string, #match_date, #match_datetime, #match_each, #match_each_key, #match_each_kv, #match_each_regex, #match_each_value, #match_exactly, #match_include, #match_iso8601, #match_regex, #match_time, #match_type_of, #match_uuid
Instance Method Details
#new_interaction(description = nil) ⇒ Object
34 35 36 |
# File 'lib/sbmt/pact/rspec/support/pact_consumer_helpers.rb', line 34 def new_interaction(description = nil) pact_config.new_interaction(description) end |
#pact_config ⇒ Object
38 39 40 |
# File 'lib/sbmt/pact/rspec/support/pact_consumer_helpers.rb', line 38 def pact_config instance_variable_get(:@_pact_config) end |