Class: PactBroker::Client::VerificationRequired

Inherits:
CanIDeploy
  • Object
show all
Defined in:
lib/pact_broker/client/verification_required.rb

Instance Method Summary collapse

Methods inherited from CanIDeploy

call, #initialize

Constructor Details

This class inherits a constructor from PactBroker::Client::CanIDeploy

Instance Method Details

#callObject



6
7
8
9
10
11
12
13
14
# File 'lib/pact_broker/client/verification_required.rb', line 6

def call
  create_result(fetch_matrix_with_retries)
rescue StandardError => e
  message = "Error determining if a verification already existed (#{e.message}) - verification should run just in case"
  if options[:verbose]
    message = "#{message}\n#{e.class} - #{e.backtrace.join("\n")}"
  end
  Result.new(true, message)
end