Class: CsvHelper::Aws
- Inherits:
-
Base
- Object
- Base
- CsvHelper::Aws
show all
- Defined in:
- lib/csv_helper/aws.rb
Constant Summary
Constants inherited
from Base
Base::CSV_RESULTS_DIR
Instance Method Summary
collapse
Methods inherited from Base
#filename, #filepath, #initialize
Instance Method Details
#store! ⇒ Object
7
8
9
|
# File 'lib/csv_helper/aws.rb', line 7
def store!
AwsS3.store(key, filepath)
end
|
#url ⇒ Object
3
4
5
|
# File 'lib/csv_helper/aws.rb', line 3
def url
AwsS3.presigned_url(key, "result_#{@result_id}.csv", 3600)
end
|