Class: PactBroker::Pacts::LatestPactPublications

Inherits:
LatestPactPublicationsByConsumerVersion show all
Defined in:
lib/pact_broker/pacts/latest_pact_publications.rb

Overview

latest pact for each consumer/provider pair

Instance Method Summary collapse

Methods inherited from AllPactPublications

#head_tag_names, #to_domain_with_content, #to_domain_without_tags

Instance Method Details

#to_domainObject

This pact may well be the latest for certain tags, but in this query we don’t know what they are



13
14
15
# File 'lib/pact_broker/pacts/latest_pact_publications.rb', line 13

def to_domain
  HeadPact.new(super, consumer_version_number, nil)
end