Sha256: fa5c335ea04a6d5074c7f4862c6531e434e1031430490ee22c15c77a5c24e491
Contents?: true
Size: 484 Bytes
Versions: 18
Compression:
Stored size: 484 Bytes
Contents
require 'pact_broker/repositories' require 'pact_broker/relationships/groupify' module PactBroker module Services module GroupService 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 pacticipant_service.find_relationships end end end end
Version data entries
18 entries across 18 versions & 1 rubygems