Sha256: 00f66ced912b30a9e4047a02cbd77a77b3252389569ab1ee0b0e6f49bc7e2483

Contents?: true

Size: 316 Bytes

Versions: 80

Compression:

Stored size: 316 Bytes

Contents

module Pact
  module MockService
    module Interactions
      class CandidateInteractions < Array

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

      end
    end
  end
end

Version data entries

80 entries across 80 versions & 2 rubygems

Version Path
pact-mock_service-2.6.3 lib/pact/mock_service/interactions/candidate_interactions.rb
pact-mock_service-2.6.2 lib/pact/mock_service/interactions/candidate_interactions.rb
pact-mock_service-2.6.0 lib/pact/mock_service/interactions/candidate_interactions.rb
pact-mock_service-2.5.4 lib/pact/mock_service/interactions/candidate_interactions.rb
pact-mock_service-2.5.3 lib/pact/mock_service/interactions/candidate_interactions.rb
pact-mock_service-2.5.1 lib/pact/mock_service/interactions/candidate_interactions.rb
pact-mock_service-2.4.0 lib/pact/mock_service/interactions/candidate_interactions.rb
pact-mock_service-2.3.0 lib/pact/mock_service/interactions/candidate_interactions.rb
pact-mock_service-2.2.0 lib/pact/mock_service/interactions/candidate_interactions.rb
pact-mock_service-2.1.1.pre.alpha.2 lib/pact/mock_service/interactions/candidate_interactions.rb
pact-mock_service-2.1.0 lib/pact/mock_service/interactions/candidate_interactions.rb
pact-mock_service-2.0.1 lib/pact/mock_service/interactions/candidate_interactions.rb
pact-mock_service-2.0.0 lib/pact/mock_service/interactions/candidate_interactions.rb
pact-mock_service-1.2.0 lib/pact/mock_service/interactions/candidate_interactions.rb
pact-mock_service-1.1.0 lib/pact/mock_service/interactions/candidate_interactions.rb
pact-mock_service-1.0.0 lib/pact/mock_service/interactions/candidate_interactions.rb
pact-mock_service-0.12.1 lib/pact/mock_service/interactions/candidate_interactions.rb
pact-mock_service-0.12.0 lib/pact/mock_service/interactions/candidate_interactions.rb
pact-mock_service-0.11.0 lib/pact/mock_service/interactions/candidate_interactions.rb
pact-mock_service-0.10.2 lib/pact/mock_service/interactions/candidate_interactions.rb