Class: PactBroker::Verifications::LatestVerificationForConsumerAndProvider
- Inherits:
-
Domain::Verification
- Object
- Sequel::Model
- Domain::Verification
- PactBroker::Verifications::LatestVerificationForConsumerAndProvider
- Defined in:
- lib/pact_broker/verifications/latest_verification_for_consumer_and_provider.rb
Constant Summary
Constants inherited from Domain::Verification
Domain::Verification::FROM_JSON_WITH_SYMBOL_KEYS, Domain::Verification::TO_JSON
Instance Method Summary collapse
-
#pact_version_sha ⇒ Object
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.
- #provider_version_number ⇒ Object
- #provider_version_order ⇒ Object
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_sha ⇒ Object
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_and_provider.rb', line 10 def pact_version_sha values[:pact_version_sha] end |
#provider_version_number ⇒ Object
14 15 16 |
# File 'lib/pact_broker/verifications/latest_verification_for_consumer_and_provider.rb', line 14 def provider_version_number values[:provider_version_number] end |
#provider_version_order ⇒ Object
18 19 20 |
# File 'lib/pact_broker/verifications/latest_verification_for_consumer_and_provider.rb', line 18 def provider_version_order values[:provider_version_order] end |