Class: Locomotive::Steam::Liquid::Drops::UploadedFile

Inherits:
Base
  • Object
show all
Defined in:
lib/locomotive/steam/liquid/drops/uploaded_file.rb

Instance Method Summary collapse

Methods inherited from Base

#as_json, #id, #initialize

Constructor Details

This class inherits a constructor from Locomotive::Steam::Liquid::Drops::Base

Instance Method Details

#urlObject



9
10
11
# File 'lib/locomotive/steam/liquid/drops/uploaded_file.rb', line 9

def url
  asset_host.compute(@_source.url, @_source.updated_at.try(:to_i))
end