Class: Automan::Cli::Mover

Inherits:
Thor
  • Object
show all
Defined in:
lib/automan/cli/mover.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.exit_on_failure?Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/automan/cli/mover.rb', line 6

def self.exit_on_failure?
    return true
end

Instance Method Details

#downloadObject



40
41
42
43
44
# File 'lib/automan/cli/mover.rb', line 40

def download

  s = Automan::S3::Downloader.new(options)
  s.download
end

#uploadObject



22
23
24
25
26
# File 'lib/automan/cli/mover.rb', line 22

def upload

  s = Automan::S3::Uploader.new(options)
  s.upload
end