Class: Fog::Aliyun::Storage::Mock

Inherits:
Object
  • Object
show all
Defined in:
lib/fog/aliyun/storage.rb

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Mock

Returns a new instance of Mock.



223
224
225
226
227
228
229
230
231
# File 'lib/fog/aliyun/storage.rb', line 223

def initialize(options = {})
  @aliyun_oss_endpoint = options[:aliyun_oss_endpoint]
  @aliyun_region_id = options[:aliyun_region_id]
  @aliyun_accesskey_id = options[:aliyun_accesskey_id]
  @aliyun_accesskey_secret = options[:aliyun_accesskey_secret]
  @aliyun_oss_bucket = options[:aliyun_oss_bucket]

  @connection_options = options[:connection_options] || {}
end