Sha256: 2c3201cd3514f450a08cdb91a057edebcb7e67b675eb0979b40deae5eebc204c

Contents?: true

Size: 636 Bytes

Versions: 10

Compression:

Stored size: 636 Bytes

Contents

require 'pact_broker/domain/verification'

module PactBroker
  module Verifications
    class LatestVerificationForConsumerVersionTag < PactBroker::Domain::Verification
      set_dataset(:latest_verifications_for_consumer_version_tags)

      # 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
      def pact_version_sha
        values[:pact_version_sha]
      end

      def provider_version_number
        values[:provider_version_number]
      end

      def provider_version_order
        values[:provider_version_order]
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
pact_broker-2.24.0 lib/pact_broker/verifications/latest_verification_for_consumer_version_tag.rb
pact_broker-2.23.4 lib/pact_broker/verifications/latest_verification_for_consumer_version_tag.rb
pact_broker-2.23.3 lib/pact_broker/verifications/latest_verification_for_consumer_version_tag.rb
pact_broker-2.23.2 lib/pact_broker/verifications/latest_verification_for_consumer_version_tag.rb
pact_broker-2.23.1 lib/pact_broker/verifications/latest_verification_for_consumer_version_tag.rb
pact_broker-2.23.0 lib/pact_broker/verifications/latest_verification_for_consumer_version_tag.rb
pact_broker-2.22.0 lib/pact_broker/verifications/latest_verification_for_consumer_version_tag.rb
pact_broker-2.21.0 lib/pact_broker/verifications/latest_verification_for_consumer_version_tag.rb
pact_broker-2.20.0 lib/pact_broker/verifications/latest_verification_for_consumer_version_tag.rb
pact_broker-2.19.2 lib/pact_broker/verifications/latest_verification_for_consumer_version_tag.rb