Sha256: 3e20f0f8b57f919fa4c6ca3b8886aab0b37a6b4b5c9e5c5f6b3d2a51f5f7ad46

Contents?: true

Size: 717 Bytes

Versions: 9

Compression:

Stored size: 717 Bytes

Contents

# frozen_string_literal: true

module CarrierWave
  module Aliyun
    module Configuration
      extend ActiveSupport::Concern

      included do
        # Deprecation
        add_config :aliyun_access_id
        add_config :aliyun_access_key
        add_config :aliyun_area
        add_config :aliyun_private_read

        add_config :aliyun_access_key_id
        add_config :aliyun_access_key_secret
        add_config :aliyun_bucket

        add_config :aliyun_region
        add_config :aliyun_internal
        add_config :aliyun_host
        add_config :aliyun_mode

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
carrierwave-aliyun-1.2.3 lib/carrierwave/aliyun/configuration.rb
carrierwave-aliyun-1.2.2 lib/carrierwave/aliyun/configuration.rb
carrierwave-aliyun-1.2.1 lib/carrierwave/aliyun/configuration.rb
carrierwave-aliyun-1.2.0 lib/carrierwave/aliyun/configuration.rb
carrierwave-aliyun-1.1.3 lib/carrierwave/aliyun/configuration.rb
carrierwave-aliyun-1.1.2 lib/carrierwave/aliyun/configuration.rb
carrierwave-aliyun-1.1.1 lib/carrierwave/aliyun/configuration.rb
carrierwave-aliyun-1.1.0 lib/carrierwave/aliyun/configuration.rb
carrierwave-aliyun-1.0.0 lib/carrierwave/aliyun/configuration.rb