Module: QcloudCos

Defined in:
lib/qcloud_cos.rb,
lib/qcloud_cos/http.rb,
lib/qcloud_cos/error.rb,
lib/qcloud_cos/version.rb,
lib/qcloud_cos/object_manager.rb

Defined Under Namespace

Classes: Error, Http, ObjectManager

Constant Summary collapse

VERSION =
"0.0.5".freeze

Instance Method Summary collapse

Instance Method Details

#configObject



14
15
16
# File 'lib/qcloud_cos.rb', line 14

def config
  @config
end

#configure {|@config| ... } ⇒ Object

Yields:



8
9
10
11
12
# File 'lib/qcloud_cos.rb', line 8

def configure
  @config ||= Configuration.new
  yield @config
  @config
end