module PactBroker::Labels::Service
Public Instance Methods
Source
# File lib/pact_broker/labels/service.rb, line 16 def create args pacticipant = pacticipant_repository.find_by_name_or_create args.fetch(:pacticipant_name) label_repository.create pacticipant: pacticipant, name: args.fetch(:label_name) end
Source
# File lib/pact_broker/labels/service.rb, line 25 def delete args label_repository.delete args end
Source
# File lib/pact_broker/labels/service.rb, line 21 def find args label_repository.find args end
Source
# File lib/pact_broker/labels/service.rb, line 12 def get_all_unique_labels pagination_options = {} label_repository.get_all_unique_labels(pagination_options) end