Sha256: 35de9efb441d087320029edc2b500be8ec24bdb06fbe36bb703ff97ee9521704

Contents?: true

Size: 420 Bytes

Versions: 57

Compression:

Stored size: 420 Bytes

Contents

require 'pact_broker/api/resources/verification'

module PactBroker
  module Api
    module Resources
      class LatestVerificationForLatestPact < Verification
        private

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

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

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
pact_broker-2.65.0 lib/pact_broker/api/resources/latest_verification_for_latest_pact.rb
pact_broker-2.64.0 lib/pact_broker/api/resources/latest_verification_for_latest_pact.rb
pact_broker-2.63.0 lib/pact_broker/api/resources/latest_verification_for_latest_pact.rb
pact_broker-2.62.0 lib/pact_broker/api/resources/latest_verification_for_latest_pact.rb
pact_broker-2.61.0 lib/pact_broker/api/resources/latest_verification_for_latest_pact.rb
pact_broker-2.60.1 lib/pact_broker/api/resources/latest_verification_for_latest_pact.rb
pact_broker-2.60.0 lib/pact_broker/api/resources/latest_verification_for_latest_pact.rb
pact_broker-2.59.2 lib/pact_broker/api/resources/latest_verification_for_latest_pact.rb
pact_broker-2.59.1 lib/pact_broker/api/resources/latest_verification_for_latest_pact.rb
pact_broker-2.59.0 lib/pact_broker/api/resources/latest_verification_for_latest_pact.rb
pact_broker-2.58.3 lib/pact_broker/api/resources/latest_verification_for_latest_pact.rb
pact_broker-2.58.2 lib/pact_broker/api/resources/latest_verification_for_latest_pact.rb
pact_broker-2.58.0 lib/pact_broker/api/resources/latest_verification_for_latest_pact.rb
pact_broker-2.57.0 lib/pact_broker/api/resources/latest_verification_for_latest_pact.rb
pact_broker-2.56.1 lib/pact_broker/api/resources/latest_verification_for_latest_pact.rb
pact_broker-2.56.0 lib/pact_broker/api/resources/latest_verification_for_latest_pact.rb
pact_broker-2.55.0 lib/pact_broker/api/resources/latest_verification_for_latest_pact.rb
pact_broker-2.54.0 lib/pact_broker/api/resources/latest_verification_for_latest_pact.rb
pact_broker-2.53.0 lib/pact_broker/api/resources/latest_verification_for_latest_pact.rb
pact_broker-2.52.2 lib/pact_broker/api/resources/latest_verification_for_latest_pact.rb