Class: CarrierWave::Uploader::Base
- Inherits:
-
Object
- Object
- CarrierWave::Uploader::Base
- Defined in:
- lib/carrierwave/tencent_cos.rb
Class Method Summary collapse
Class Method Details
.options ⇒ Object
16 17 18 |
# File 'lib/carrierwave/tencent_cos.rb', line 16 def self. @options end |
.tencent_cos=(options) ⇒ Object
20 21 22 23 24 25 26 27 28 29 |
# File 'lib/carrierwave/tencent_cos.rb', line 20 def self.tencent_cos= @options = TencentCosSdk.configure do |conf| conf.secret_id = [:secret_id] conf.secret_key = [:secret_key] conf.host = [:host] conf.parent_path = [:parent_path] end end |