class PactBroker::Api::Resources::LatestProviderPacts
Private Instance Methods
pacts()
click to toggle source
# File lib/pact_broker/api/resources/latest_provider_pacts.rb, line 11 def pacts pact_service.find_latest_pacts_for_provider(provider_name, tag: identifier_from_path[:tag]) end
resource_title()
click to toggle source
# File lib/pact_broker/api/resources/latest_provider_pacts.rb, line 15 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