Sha256: 573342b568a1e79453439a8b85fd0279ba288b6148f1c94fdb58d92721b15435
Contents?: true
Size: 630 Bytes
Versions: 17
Compression:
Stored size: 630 Bytes
Contents
module PactBroker module Api module Resources module PacticipantResourceMethods def potential_duplicate_pacticipants? pacticipant_names if PactBroker.configuration.check_for_potential_duplicate_pacticipant_names messages = pacticipant_service.messages_for_potential_duplicate_pacticipants pacticipant_names, base_url if messages.any? response.body = messages.join("\n") response.headers["Content-Type"] = "text/plain" end messages.any? else false end end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems