Class: Alchemy::Picture::S3Url

Inherits:
Url
  • Object
show all
Defined in:
app/models/alchemy/picture/s3_url.rb

Instance Method Summary collapse

Instance Method Details

#callObject



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