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