Class: Alchemy::Picture::S3Url
- Inherits:
-
Url
- Object
- Url
- Alchemy::Picture::S3Url
- Defined in:
- app/models/alchemy/picture/s3_url.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
6 7 8 9 10 |
# File 'app/models/alchemy/picture/s3_url.rb', line 6 def call(*) return variant.image.remote_url unless processible_image? ::Dragonfly.app(:alchemy_pictures).remote_url_for(uid) end |