Class: PactBroker::Tags::TagWithLatestFlag

Inherits:
Object
  • Object
show all
Defined in:
lib/pact_broker/tags/tag_with_latest_flag.rb

Overview

The tag associated with the latest verification for a given tag TODO remove this class now we have eager loaders for head_tag

Instance Method Summary collapse

Instance Method Details

#latest?Boolean

Returns:

  • (Boolean)


15
16
17
# File 'lib/pact_broker/tags/tag_with_latest_flag.rb', line 15

def latest?
  !values[:latest].nil?
end