Sha256: f72ba4cfff3ced74ddc65c65a4a6c242929b723b5b7637a97c08a65d3f821d01
Contents?: true
Size: 474 Bytes
Versions: 10
Compression:
Stored size: 474 Bytes
Contents
require 'pact_broker/repositories' require 'pact_broker/relationships/groupify' module PactBroker module Groups module Service extend self extend PactBroker::Repositories extend PactBroker::Services def find_group_containing pacticipant groups.find { | group | group.include_pacticipant? pacticipant } end def groups Relationships::Groupify.call(index_service.find_all_index_items) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems