Sha256: 1f3c9a153746e06c570e850c8a0014f10613cd9fff02a9be7a38410be8ff544d
Contents?: true
Size: 814 Bytes
Versions: 1
Compression:
Stored size: 814 Bytes
Contents
require 'pact' module Pact module Messages module_function def service_consumer(name, &block) Pact::Messages::Consumer::DSL::MessageConsumer.build(name, &block) end def build_mock_service(mock_service_name, &block) Pact::Messages::Consumer::MockServiceFactory.build(mock_service_name, &block) end def get_message_contract(provider_name, consumer_name, provider_state = nil) Pact::Messages::ContractRepository.get_message_contract(provider_name, consumer_name, provider_state) end def get_message_sample(provider_name, consumer_name, provider_state = nil) Pact::Messages::ContractRepository.get_message_sample(provider_name, consumer_name, provider_state) end end end require 'pact/messages/consumer' require 'pact/messages/contract_repository'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pact-messages-0.1.0 | lib/pact/messages.rb |