Sha256: bbc016cc38f4b4919f421edfee4750dc24f66c508b38967378a28a640ba266bf

Contents?: true

Size: 355 Bytes

Versions: 2

Compression:

Stored size: 355 Bytes

Contents

require 'pact/consumer_contract/interaction'

module Pact
  module Messages
    module Consumer
      class Interaction < Pact::Interaction
        def to_hash
          {
            description:    description,
            provider_state: provider_state,
            response:       response.to_hash,
          }
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pact-messages-0.1.1 lib/pact/messages/consumer/interaction.rb
pact-messages-0.1.0 lib/pact/messages/consumer/interaction.rb