module Aliyun
Constants
- VERSION
Public Class Methods
[](key)
click to toggle source
# File lib/aliyun.rb, line 23 def self.[](key) Config.instance.send key if Config.instance.respond_to? key end
[]=(key,value)
click to toggle source
# File lib/aliyun.rb, line 26 def self.[]=(key,value) key="#{key}=" Config.instance.send key,value if Config.instance.respond_to? key end
config(cfg)
click to toggle source
# File lib/aliyun.rb, line 30 def self.config(cfg) cfg.each do |k,v| self[k]=v end end