Sha256: 67eec9411e9c244f019e9c59e114b4fe7acda146b905dcf93562722b34765b8b
Contents?: true
Size: 395 Bytes
Versions: 17
Compression:
Stored size: 395 Bytes
Contents
module Shutterbug module CacheManager class CacheEntry attr_accessor :key attr_accessor :url attr_accessor :preview_url def initialize(storage) @key = storage.filename @url = storage.url @preview_url = storage.url end def image_tag "<img src='#{self.preview_url}' alt='#{self.preview_url}'>" end end end end
Version data entries
17 entries across 17 versions & 1 rubygems