Sha256: 21be2b60803a8499ed1cbfd8793aca5cc0654ec9e638dcbf14a00cef279d2ac3
Contents?: true
Size: 680 Bytes
Versions: 47
Compression:
Stored size: 680 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_pacts_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
47 entries across 47 versions & 1 rubygems