Class: VerifyCommand
- Inherits:
-
Object
- Object
- VerifyCommand
- Defined in:
- lib/commands/verify_command.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(args) ⇒ VerifyCommand
constructor
A new instance of VerifyCommand.
- #run ⇒ Object
Constructor Details
#initialize(args) ⇒ VerifyCommand
Returns a new instance of VerifyCommand.
11 12 13 |
# File 'lib/commands/verify_command.rb', line 11 def initialize(args) @api = args[:api] end |
Class Method Details
.new_with_defaults(options) ⇒ Object
2 3 4 5 6 7 8 9 |
# File 'lib/commands/verify_command.rb', line 2 def self.new_with_defaults() shell = ShellWrapper.new config = Configuration.new(shell) networking = Networking.new(config, [:is_retry_enabled]) api = API.new(shell, config, networking, ) VerifyCommand.new(api: api) end |
Instance Method Details
#run ⇒ Object
15 16 17 |
# File 'lib/commands/verify_command.rb', line 15 def run @api.verify_build_dir_matches_cartfile_resolved end |