class VerifyCommand

Public Class Methods

new(args) click to toggle source
# File lib/commands/verify_command.rb, line 11
def initialize(args)
  @api = args[:api]
end
new_with_defaults(options) click to toggle source
# File lib/commands/verify_command.rb, line 2
def self.new_with_defaults(options)
  shell = ShellWrapper.new
  config = Configuration.new(shell)
  networking = Networking.new(config, options[:is_retry_enabled])
  api = API.new(shell, config, networking, options)

  VerifyCommand.new(api: api)
end

Public Instance Methods

run() click to toggle source
# File lib/commands/verify_command.rb, line 15
def run
  @api.verify_build_dir_matches_cartfile_resolved
end