Sha256: 364861a4b5f7b35193b9be050e858ffdd5993d2d708c52b23c64624ea3a5edc7
Contents?: true
Size: 1.41 KB
Versions: 20
Compression:
Stored size: 1.41 KB
Contents
# encoding: utf-8 module CarrierWave ## # See CarrierWave::Uploader::Base # module Uploader ## # An uploader is a class that allows you to easily handle the caching and storage of # uploaded files. Please refer to the README for configuration options. # # Once you have an uploader you can use it in isolation: # # my_uploader = MyUploader.new # my_uploader.cache!(File.open(path_to_file)) # my_uploader.retrieve_from_store!('monkey.png') # # Alternatively, you can mount it on an ORM or other persistence layer, with # +CarrierWave::Mount#mount_uploader+. There are extensions for activerecord and datamapper # these are *very* simple (they are only a dozen lines of code), so adding your own should # be trivial. # class Base attr_reader :file use CarrierWave::Uploader::Callbacks use CarrierWave::Uploader::Proxy use CarrierWave::Uploader::Url use CarrierWave::Uploader::Mountable use CarrierWave::Uploader::Cache use CarrierWave::Uploader::Store use CarrierWave::Uploader::Download use CarrierWave::Uploader::Remove use CarrierWave::Uploader::ExtensionWhitelist use CarrierWave::Uploader::Processing use CarrierWave::Uploader::Versions use CarrierWave::Uploader::DefaultUrl use CarrierWave::Uploader::Configuration end # Base end # Uploader end # CarrierWave
Version data entries
20 entries across 20 versions & 4 rubygems