Class: AppCommand::ScriptsSqlUpdate

Inherits:
Convoy::ActionCommand::Base
  • Object
show all
Defined in:
lib/routes/scripts_sql_update.rb

Instance Method Summary collapse

Instance Method Details

#executeObject



5
6
7
8
9
10
11
12
13
# File 'lib/routes/scripts_sql_update.rb', line 5

def execute

    @opts = command_options
    @args = arguments

    opts_validate
    opts_routing

end

#opts_routingObject



19
20
21
22
23
# File 'lib/routes/scripts_sql_update.rb', line 19

def opts_routing

    run_sql_update

end

#opts_validateObject



15
16
17
# File 'lib/routes/scripts_sql_update.rb', line 15

def opts_validate

end

#run_sql_updateObject



25
26
27
28
29
# File 'lib/routes/scripts_sql_update.rb', line 25

def run_sql_update

    App::SqlUpdate::run_sql_update

end