Class: Commands::TerminateActionCommand
- Defined in:
- lib/commands.rb
Instance Attribute Summary
Attributes inherited from Command
#arg, #commands, #description, #logger, #name
Instance Method Summary collapse
Methods inherited from Command
#get_field, #has_value, #have, #initialize, #option, #require, #require_single_jobflow, #resolve, #validate
Constructor Details
This class inherits a constructor from Commands::Command
Instance Method Details
#enact(client) ⇒ Object
1017 1018 1019 1020 1021 |
# File 'lib/commands.rb', line 1017 def enact(client) job_flow = get_field(:jobflow) client.terminate_jobflows(job_flow) logger.puts "Terminated job flow " + job_flow.join(" ") end |