Class: Vidload::Custom::Cli

Inherits:
Thor
  • Object
show all
Defined in:
lib/vidload/custom/cli.rb

Instance Method Summary collapse

Instance Method Details

#custom(*video_urls) ⇒ Object



14
15
16
17
18
19
20
21
22
23
24
# File 'lib/vidload/custom/cli.rb', line 14

def custom(*video_urls)
  video_urls.each do |video_url|
    params = {
      video_url: video_url,
      **options
    }

    process_custom(params)
    sleep 1
  end
end