class MovieMasher::S3DownloadService

downloads assets via s3

Public Instance Methods

download(options) click to toggle source
# File service/aws/s3_download.rb, line 8
def download(options)
  source = options[:source]
  path = options[:path]
  bucket = source[:bucket]
  key = source.full_path
  s3_client.get_object(
    response_target: path, bucket: bucket, key: key
  )
end