Sha256: cd5788c2a707e5311b22eff08bb52c8f0ac64ccf8e7c3c0a67dbbf05720b382b

Contents?: true

Size: 501 Bytes

Versions: 3

Compression:

Stored size: 501 Bytes

Contents

# frozen_string_literal: true

require_relative "base"

module Sbmt
  module Pact
    module Provider
      module PactConfig
        class Async < Base
          def new_message_handler(name, opts: {}, &block)
            provider_setup_server.add_message_handler(name, &block)
          end

          def filter_type
            PACT_BROKER_FILTER_TYPE_ASYNC
          end

          def new_verifier
            AsyncMessageVerifier.new(self)
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sbmt-pact-0.12.2 lib/sbmt/pact/provider/pact_config/async.rb
sbmt-pact-0.12.1 lib/sbmt/pact/provider/pact_config/async.rb
sbmt-pact-0.12.0 lib/sbmt/pact/provider/pact_config/async.rb