Module: Aliyun

Defined in:
lib/aliyun.rb,
lib/aliyun/utils.rb,
lib/aliyun/errors.rb,
lib/aliyun/errors/base.rb,
lib/aliyun/services/base.rb,
lib/aliyun/signature_methods.rb,
lib/aliyun/signature_methods/base.rb,
lib/aliyun/signature_methods/hmac_sha1.rb

Defined Under Namespace

Modules: Errors, Services, SignatureMethods, Utils

Class Method Summary collapse

Class Method Details

.configObject



10
11
12
# File 'lib/aliyun.rb', line 10

def config
  @config ||= OpenStruct.new
end

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

Yields:



7
8
9
# File 'lib/aliyun.rb', line 7

def configure
  yield config
end