Sha256: 658b9ea616540926aab916a09e563dc8f5558b8cade93271b007e5f034ceedcb
Contents?: true
Size: 521 Bytes
Versions: 115
Compression:
Stored size: 521 Bytes
Contents
require 'pact_broker/repositories' module PactBroker module Labels module Service extend self extend PactBroker::Repositories 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 def find args label_repository.find args end def delete args label_repository.delete args end end end end
Version data entries
115 entries across 115 versions & 1 rubygems