Class: Pact::MockService::Interactions::CandidateInteractions
- Inherits:
-
Array
- Object
- Array
- Pact::MockService::Interactions::CandidateInteractions
- Defined in:
- lib/pact/mock_service/interactions/candidate_interactions.rb
Instance Method Summary collapse
Instance Method Details
#matching_interactions(actual_request) ⇒ Object
6 7 8 9 10 |
# File 'lib/pact/mock_service/interactions/candidate_interactions.rb', line 6 def matching_interactions actual_request select do | candidate_interaction | candidate_interaction.request.matches? actual_request end end |