Class: AWS::S3::S3Object
- Inherits:
-
Object
- Object
- AWS::S3::S3Object
- Defined in:
- lib/rixius/s3.rb
Class Method Summary collapse
Class Method Details
.rixius_original_store ⇒ Object
6 |
# File 'lib/rixius/s3.rb', line 6 alias :rixius_original_store :store |
.store(key, data, bucket = nil, options = {}) ⇒ Object
7 8 9 10 11 12 |
# File 'lib/rixius/s3.rb', line 7 def store key, data, bucket = nil, = {} if ['Cache-Control'].blank? ['Cache-Control'] = 'max-age=315360000' end rixius_original_store key, data, bucket, end |