Sha256: 7b7dfa729c0e55f62e8d837ee16a8e7a1b65f529d97aef4caaaaae87cf94a39b

Contents?: true

Size: 546 Bytes

Versions: 2

Compression:

Stored size: 546 Bytes

Contents

module CarrierWave
  module Aliyun
    module Configuration
      extend ActiveSupport::Concern

      included do
        add_config :aliyun_access_id
        add_config :aliyun_access_key
        add_config :aliyun_bucket
        add_config :aliyun_area
        add_config :aliyun_internal
        add_config :aliyun_host
        add_config :aliyun_img_host
        add_config :aliyun_private_read

        configure do |config|
          config.storage_engines[:aliyun] = 'CarrierWave::Storage::Aliyun'
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
carrierwave-aliyun-0.7.1 lib/carrierwave/aliyun/configuration.rb
carrierwave-aliyun-0.7.0 lib/carrierwave/aliyun/configuration.rb