Module: PactBroker::Groups::Service
- Extended by:
- Service, Repositories, Services
- Included in:
- Service
- Defined in:
- lib/pact_broker/groups/service.rb
Constant Summary
Constants included from Services
Instance Method Summary collapse
Methods included from Repositories
branch_version_repository, integration_repository, label_repository, matrix_repository, pact_repository, pacticipant_repository, tag_repository, verification_repository, version_repository, webhook_repository
Methods included from Services
badge_service, branch_service, certificate_service, contract_service, deployed_version_service, environment_service, get, group_service, index_service, integration_service, label_service, matrix_service, metrics_service, pact_service, pacticipant_service, register_default_services, register_service, released_version_service, tag_service, verification_service, version_service, webhook_service, webhook_trigger_service
Instance Method Details
#find_group_containing(pacticipant) ⇒ Object
11 12 13 |
# File 'lib/pact_broker/groups/service.rb', line 11 def find_group_containing pacticipant groups.find { | group | group.include_pacticipant? pacticipant } end |
#groups ⇒ Object
15 16 17 |
# File 'lib/pact_broker/groups/service.rb', line 15 def groups Relationships::Groupify.call(index_service.find_all_index_items) end |