class CsvHelper::Aws

Public Instance Methods

key() click to toggle source
# File lib/csv_helper/aws.rb, line 11
def key
  AwsS3::S3_FOLDER ? "#{AwsS3::S3_FOLDER}/#{filename}" : filename
end
store!() click to toggle source
# File lib/csv_helper/aws.rb, line 7
def store!
  AwsS3.store(key, filepath)
end
url() click to toggle source
# File lib/csv_helper/aws.rb, line 3
def url
  AwsS3.presigned_url(key, "result_#{@result_id}.csv", 3600)
end