Sha256: 888c0dd616a42f24c5357e6a579b8149933b77b27412749e90367948fac743b8
Contents?: true
Size: 571 Bytes
Versions: 2
Compression:
Stored size: 571 Bytes
Contents
module CarrierWave module Storage ## # This file serves mostly as a specification for Storage engines. There is no requirement # that storage engines must be a subclass of this class. # class Abstract attr_reader :uploader def initialize(uploader) @uploader = uploader end def self.setup!; end def identifier uploader.filename end def store!(file) end def retrieve!(identifier) end end # Abstract end # Storage end # CarrierWave
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
jnicklas-carrierwave-0.3.1 | lib/carrierwave/storage/abstract.rb |
carrierwave-0.3.1 | lib/carrierwave/storage/abstract.rb |