Sha256: 4fe90c0dd1bb59fda71e41e3b0269ad3c248c07db44247c99a07e4f13403b15f

Contents?: true

Size: 266 Bytes

Versions: 1

Compression:

Stored size: 266 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

1 entries across 1 versions & 1 rubygems

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