engine/lib/locomotive/liquid/drops/uploader.rb

15 lines
231 B
Ruby
Raw Normal View History

module Locomotive
module Liquid
module Drops
class Uploader < Base
delegate :url, :size, :to => '_source'
def filename
File.basename(self._source.url)
end
end
end
end
end