Class: Bricolage::S3Task

Inherits:
DataSourceTask show all
Defined in:
lib/bricolage/s3datasource.rb

Defined Under Namespace

Classes: Put

Instance Attribute Summary

Attributes inherited from DataSourceTask

#ds

Instance Method Summary collapse

Methods inherited from DataSourceTask

#bind, #initialize, #run, #source

Constructor Details

This class inherits a constructor from Bricolage::DataSourceTask

Instance Method Details

#put(src, dest, check_args: true) ⇒ Object



144
145
146
# File 'lib/bricolage/s3datasource.rb', line 144

def put(src, dest, check_args: true)
  add Put.new(src, dest).tap {|action| action.check_arguments if check_args }
end