Class: Alchemy::Dragonfly::S3::Store
- Inherits:
-
Object
- Object
- Alchemy::Dragonfly::S3::Store
- Defined in:
- lib/alchemy/dragonfly/s3/store.rb
Class Method Summary collapse
Class Method Details
.call(variant, uid) ⇒ Object
7 8 9 10 11 12 |
# File 'lib/alchemy/dragonfly/s3/store.rb', line 7 def self.call(variant, uid) # download and process the image image = variant.image # upload the processed image image.store(path: uid) end |