Class: AppCommand::Upload
- Inherits:
-
Convoy::ActionCommand::Base
- Object
- Convoy::ActionCommand::Base
- AppCommand::Upload
- Defined in:
- lib/routes/upload.rb
Constant Summary collapse
- PROJECTS =
'Projects'- TEMPLATES =
'Templates'
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/routes/upload.rb', line 8 def execute begin @opts = @args = arguments @action = determine_action opts_validate opts_routing rescue => e Blufin::Terminal::print_exception(e) end end |
#opts_routing ⇒ Object
31 32 33 34 35 |
# File 'lib/routes/upload.rb', line 31 def opts_routing raise RuntimeError, "Not yet implemented! -> #{@action}" end |
#opts_validate ⇒ Object
27 28 29 |
# File 'lib/routes/upload.rb', line 27 def opts_validate end |