Class: AppCommand::ScriptsSqlUpdate
- Inherits:
-
Convoy::ActionCommand::Base
- Object
- Convoy::ActionCommand::Base
- AppCommand::ScriptsSqlUpdate
- Defined in:
- lib/routes/scripts_sql_update.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'lib/routes/scripts_sql_update.rb', line 5 def execute @opts = @args = arguments opts_validate opts_routing end |
#opts_routing ⇒ Object
19 20 21 22 23 |
# File 'lib/routes/scripts_sql_update.rb', line 19 def opts_routing run_sql_update end |
#opts_validate ⇒ Object
15 16 17 |
# File 'lib/routes/scripts_sql_update.rb', line 15 def opts_validate end |
#run_sql_update ⇒ Object
25 26 27 28 29 |
# File 'lib/routes/scripts_sql_update.rb', line 25 def run_sql_update App::SqlUpdate::run_sql_update end |