Class: Pact::ProviderVerifier::CLI::Verify

Inherits:
CustomThor
  • Object
show all
Defined in:
lib/pact/provider_verifier/cli/verify.rb

Defined Under Namespace

Classes: AuthError, InvalidArgumentsError

Instance Method Summary collapse

Instance Method Details

#verify(*pact_urls) ⇒ Object



44
45
46
47
48
49
50
51
# File 'lib/pact/provider_verifier/cli/verify.rb', line 44

def verify(*pact_urls)
  require 'pact/provider_verifier/app'
  require 'socket'
  validate_verify
  print_deprecation_warnings
  success = Pact::ProviderVerifier::App.call(merged_urls(pact_urls), options)
  exit_with_non_zero_status if !success && !options.ignore_failures
end

#versionObject



56
57
58
59
# File 'lib/pact/provider_verifier/cli/verify.rb', line 56

def version
  require 'pact/provider_verifier/version'
  puts Pact::ProviderVerifier::VERSION
end