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 Repositories
Repositories::REPOSITORY_FACTORIES
Constants included from Services
Instance Method Summary collapse
-
#find_group_containing(pacticipant, max_pacticipants: nil) ⇒ PactBroker::Domain::Group
Returns a list of all the integrations (PactBroker::Domain::IndexItem) that are connected to the given pacticipant.
Methods included from Repositories
branch_repository, branch_version_repository, get_repository, integration_repository, label_repository, matrix_repository, pact_repository, pacticipant_repository, register_default_repositories, register_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_service, 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, max_pacticipants: nil) ⇒ PactBroker::Domain::Group
Returns a list of all the integrations (PactBroker::Domain::IndexItem) that are connected to the given pacticipant.
15 16 17 |
# File 'lib/pact_broker/groups/service.rb', line 15 def find_group_containing(pacticipant, max_pacticipants: nil) PactBroker::Domain::Group.new(build_index_items(integrations_connected_to(pacticipant, max_pacticipants))) end |