Sha256: 774e46644d86c565b9567204899ffe68f38c8808dab54a8ccbf8157e8a2a04f6
Contents?: true
Size: 687 Bytes
Versions: 90
Compression:
Stored size: 687 Bytes
Contents
require 'pact_broker/api/resources/provider_pacts' require 'pact_broker/configuration' require 'pact_broker/api/decorators/provider_pacts_decorator' module PactBroker module Api module Resources class LatestProviderPacts < ProviderPacts private def pacts pact_service.find_latest_pact_versions_for_provider provider_name, tag: identifier_from_path[:tag] end def resource_title suffix = identifier_from_path[:tag] ? " with consumer version tag '#{identifier_from_path[:tag]}'" : "" "Latest pact versions for the provider #{identifier_from_path[:provider_name]}#{suffix}" end end end end end
Version data entries
90 entries across 90 versions & 1 rubygems