Sha256: 60e3a1c17e522686cb98e2a2920b4f10e802749b06501b0f11775e69318205b9

Contents?: true

Size: 685 Bytes

Versions: 10

Compression:

Stored size: 685 Bytes

Contents

require 'pact_broker/domain/verification'

module PactBroker
  module Verifications

    include PactBroker::Repositories::Helpers

    class LatestVerificationForConsumerAndProvider < PactBroker::Domain::Verification
      set_dataset(:latest_verifications_for_consumer_and_provider)

      # 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_and_provider.rb
pact_broker-2.23.4 lib/pact_broker/verifications/latest_verification_for_consumer_and_provider.rb
pact_broker-2.23.3 lib/pact_broker/verifications/latest_verification_for_consumer_and_provider.rb
pact_broker-2.23.2 lib/pact_broker/verifications/latest_verification_for_consumer_and_provider.rb
pact_broker-2.23.1 lib/pact_broker/verifications/latest_verification_for_consumer_and_provider.rb
pact_broker-2.23.0 lib/pact_broker/verifications/latest_verification_for_consumer_and_provider.rb
pact_broker-2.22.0 lib/pact_broker/verifications/latest_verification_for_consumer_and_provider.rb
pact_broker-2.21.0 lib/pact_broker/verifications/latest_verification_for_consumer_and_provider.rb
pact_broker-2.20.0 lib/pact_broker/verifications/latest_verification_for_consumer_and_provider.rb
pact_broker-2.19.2 lib/pact_broker/verifications/latest_verification_for_consumer_and_provider.rb