Sha256: d1a7b62bf740542bb143769c2c7afe8e9088d944d7224a0e91e756f9383555b6

Contents?: true

Size: 228 Bytes

Versions: 9

Compression:

Stored size: 228 Bytes

Contents

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
locomotive_cms-2.2.3 lib/locomotive/liquid/drops/uploader.rb
locomotive_cms-2.2.2 lib/locomotive/liquid/drops/uploader.rb
locomotive_cms-2.2.1 lib/locomotive/liquid/drops/uploader.rb
locomotive_cms-2.2.0 lib/locomotive/liquid/drops/uploader.rb
locomotive_cms-2.1.4 lib/locomotive/liquid/drops/uploader.rb
locomotive_cms-2.1.3 lib/locomotive/liquid/drops/uploader.rb
locomotive_cms-2.1.2 lib/locomotive/liquid/drops/uploader.rb
locomotive_cms-2.1.1 lib/locomotive/liquid/drops/uploader.rb
locomotive_cms-2.1.0 lib/locomotive/liquid/drops/uploader.rb