Sha256: c1830c6d485c5ebfd73159e8a972f5835d6488b24db7f41edb7c8d780b93f311

Contents?: true

Size: 510 Bytes

Versions: 2

Compression:

Stored size: 510 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_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.9.0 lib/carrierwave/aliyun/configuration.rb
carrierwave-aliyun-0.8.1 lib/carrierwave/aliyun/configuration.rb