Class: PactBroker::Verifications::LatestVerificationForConsumerVersionTag

Inherits:
Domain::Verification
  • Object
show all
Defined in:
lib/pact_broker/verifications/latest_verification_for_consumer_version_tag.rb

Constant Summary

Constants inherited from Domain::Verification

Domain::Verification::FROM_JSON_WITH_SYMBOL_KEYS, Domain::Verification::TO_JSON

Instance Method Summary collapse

Methods inherited from Domain::Verification

#all_interactions_missing_test_results?, #before_create, #consumer_name, #failed_and_pact_pending?, #interactions_missing_test_results, #latest_pact_publication, #method_missing, #pact_content_with_test_results, #pact_pending?, #provider_name, #provider_version_tag_names

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class PactBroker::Domain::Verification

Instance Method Details

#pact_version_shaObject

Don’t need to load the pact_version as we do in the superclass, as pact_version_sha is included in the view for convenience



10
11
12
# File 'lib/pact_broker/verifications/latest_verification_for_consumer_version_tag.rb', line 10

def pact_version_sha
  values[:pact_version_sha]
end

#provider_version_numberObject



14
15
16
# File 'lib/pact_broker/verifications/latest_verification_for_consumer_version_tag.rb', line 14

def provider_version_number
  values[:provider_version_number]
end

#provider_version_orderObject



18
19
20
# File 'lib/pact_broker/verifications/latest_verification_for_consumer_version_tag.rb', line 18

def provider_version_order
  values[:provider_version_order]
end