Class: BOTR::CLI
- Inherits:
-
Thor
- Object
- Thor
- BOTR::CLI
- Defined in:
- lib/botr/cli.rb
Instance Method Summary collapse
Instance Method Details
#upload(video_path) ⇒ Object
31 32 33 34 35 36 37 38 39 40 41 42 |
# File 'lib/botr/cli.rb', line 31 def upload(video_path) = () set_configurations([:key], [:secret]) puts "\nStarting upload.\n\n" prepare_video_container() puts "Uploading....\n\n" upload_video(video_path) puts "Upload Complete.\n\n" end |