Sha256: 5cf4db97425ffe3dd55892adc870de079eea8777a3e999026ce92a8d34c3fc48
Contents?: true
Size: 448 Bytes
Versions: 3
Compression:
Stored size: 448 Bytes
Contents
require "carrierwave/storage/aliyun" require 'carrierwave/processing/mime_types' require "carrierwave/aliyun/configuration" CarrierWave.configure do |config| config.storage_engines.merge!({:aliyun => "CarrierWave::Storage::Aliyun"}) end CarrierWave::Uploader::Base.send(:include, CarrierWave::Aliyun::Configuration) CarrierWave::Uploader::Base.send(:include, CarrierWave::MimeTypes) CarrierWave::Uploader::Base.send(:process, :set_content_type)
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
carrierwave-aliyun-crud-0.1.3 | lib/carrierwave-aliyun-crud.rb |
carrierwave-aliyun-crud-0.1.2 | lib/carrierwave-aliyun-crud.rb |
carrierwave-aliyun-crud-0.1.1 | lib/carrierwave-aliyun-crud.rb |