Sha256: b700f06260380a9eb6bb905bea8c4e4c236e09c53a2a6aa61758efa5701d7727

Contents?: true

Size: 267 Bytes

Versions: 3

Compression:

Stored size: 267 Bytes

Contents

module Pact
  module Consumer
    class CandidateInteractions < Array

      def matching_interactions actual_request
        select do | candidate_interaction |
          candidate_interaction.request.matches? actual_request
        end
      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pact-mock_service-0.2.4 lib/pact/consumer/mock_service/candidate_interactions.rb
pact-mock_service-0.2.3 lib/pact/consumer/mock_service/candidate_interactions.rb
pact-mock_service-0.2.3.pre.rc2 lib/pact/consumer/mock_service/candidate_interactions.rb