Sha256: 85a17028d2987f0916ea416fd0a7221927bfec1684e4fc6bc7de7fa7a1d7c856

Contents?: true

Size: 407 Bytes

Versions: 62

Compression:

Stored size: 407 Bytes

Contents

require 'pact_broker/api/resources/verification'

module PactBroker
  module Api
    module Resources
      class LatestVerificationForPact < Verification
        private

        def pact
          @pact ||= pact_service.find_pact(pact_params)
        end

        def verification
          @verification ||= pact && verification_service.find_latest_for_pact(pact)
        end
      end
    end
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
pact_broker-2.79.1 lib/pact_broker/api/resources/latest_verification_for_pact.rb
pact_broker-2.79.0 lib/pact_broker/api/resources/latest_verification_for_pact.rb
pact_broker-2.78.1 lib/pact_broker/api/resources/latest_verification_for_pact.rb
pact_broker-2.78.0 lib/pact_broker/api/resources/latest_verification_for_pact.rb
pact_broker-2.77.0 lib/pact_broker/api/resources/latest_verification_for_pact.rb
pact_broker-2.76.2 lib/pact_broker/api/resources/latest_verification_for_pact.rb
pact_broker-2.76.1 lib/pact_broker/api/resources/latest_verification_for_pact.rb
pact_broker-2.76.0 lib/pact_broker/api/resources/latest_verification_for_pact.rb
pact_broker-2.75.0 lib/pact_broker/api/resources/latest_verification_for_pact.rb
pact_broker-2.74.1 lib/pact_broker/api/resources/latest_verification_for_pact.rb
pact_broker-2.74.0 lib/pact_broker/api/resources/latest_verification_for_pact.rb
pact_broker-2.73.0 lib/pact_broker/api/resources/latest_verification_for_pact.rb
pact_broker-2.72.0 lib/pact_broker/api/resources/latest_verification_for_pact.rb
pact_broker-2.71.0 lib/pact_broker/api/resources/latest_verification_for_pact.rb
pact_broker-2.70.0 lib/pact_broker/api/resources/latest_verification_for_pact.rb
pact_broker-2.69.0 lib/pact_broker/api/resources/latest_verification_for_pact.rb
pact_broker-2.68.1 lib/pact_broker/api/resources/latest_verification_for_pact.rb
pact_broker-2.68.0 lib/pact_broker/api/resources/latest_verification_for_pact.rb
pact_broker-2.67.0 lib/pact_broker/api/resources/latest_verification_for_pact.rb
pact_broker-2.66.0 lib/pact_broker/api/resources/latest_verification_for_pact.rb