class CarrierWave::Uploader::Base
Public Class Methods
options()
click to toggle source
# File lib/carrierwave/tencent_cos.rb, line 16 def self.options @options end
tencent_cos=(options)
click to toggle source
# File lib/carrierwave/tencent_cos.rb, line 20 def self.tencent_cos= options @options = options TencentCosSdk.configure do |conf| conf.secret_id = options[:secret_id] conf.secret_key = options[:secret_key] conf.host = options[:host] conf.parent_path = options[:parent_path] end end