class PactBroker::Api::Resources::MatrixBadge

Private Instance Methods

latest_verification() click to toggle source
# File lib/pact_broker/api/resources/matrix_badge.rb, line 14
def latest_verification
  return nil unless pact
  @latest_verification ||= verification_service.find_latest_verification_for_tags(
    identifier_from_path[:consumer_name],
    identifier_from_path[:provider_name],
    identifier_from_path[:tag],
    identifier_from_path[:provider_tag]
  )
end
tags() click to toggle source
# File lib/pact_broker/api/resources/matrix_badge.rb, line 10
def tags
  { consumer_tag: identifier_from_path[:tag], provider_tag: identifier_from_path[:provider_tag] }
end