Class: AppCommand::Update
- Inherits:
-
Convoy::ActionCommand::Base
- Object
- Convoy::ActionCommand::Base
- AppCommand::Update
- Defined in:
- lib/routes/update.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/routes/update.rb', line 5 def execute @opts = @args = arguments opts_validate opts_routing end |
#opts_routing ⇒ Object
18 19 20 21 22 |
# File 'lib/routes/update.rb', line 18 def opts_routing update end |
#opts_validate ⇒ Object
14 15 16 |
# File 'lib/routes/update.rb', line 14 def opts_validate end |
#update ⇒ Object
24 25 26 27 28 29 30 31 |
# File 'lib/routes/update.rb', line 24 def update Convoy::Logger.output.puts "Command: #{command_name}" Convoy::Logger.output.puts "Options: #{}" Convoy::Logger.output.puts "Command options: #{}" Convoy::Logger.output.puts "Arguments: #{arguments}" end |