Class: Fog::Aliyun::Storage::Mock
- Inherits:
-
Object
- Object
- Fog::Aliyun::Storage::Mock
- Defined in:
- lib/fog/aliyun/storage.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Mock
constructor
A new instance of Mock.
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( = {}) @aliyun_oss_endpoint = [:aliyun_oss_endpoint] @aliyun_region_id = [:aliyun_region_id] @aliyun_accesskey_id = [:aliyun_accesskey_id] @aliyun_accesskey_secret = [:aliyun_accesskey_secret] @aliyun_oss_bucket = [:aliyun_oss_bucket] @connection_options = [:connection_options] || {} end |