Sha256: b737a1a652f946d38c9852d010f37c8c119a0b13fa4a808c231fc678eb4ad45d
Contents?: true
Size: 419 Bytes
Versions: 54
Compression:
Stored size: 419 Bytes
Contents
module Locomotive module Steam module Liquid module Drops class UploadedFile < Base delegate :size, :filename, to: :@_source def url asset_host.compute(@_source.url, @_source.updated_at.try(:to_i)) end private def asset_host @context.registers[:services].asset_host end end end end end end
Version data entries
54 entries across 54 versions & 1 rubygems