lib/aliyun-rails.rb in aliyun-rails-0.1.21 vs lib/aliyun-rails.rb in aliyun-rails-0.1.22
- old
+ new
@@ -7,19 +7,20 @@
require_relative "aliyun/dyvms"
module Aliyun
class Error < StandardError; end
- # 模块单例方法
class << self
attr_accessor :access_key_id, :access_key_secret
def config
yield self
end
end
+
+ # Your code goes here...
end
# 加载模块,自动初始化的常量
RPCClient = Aliyun::Connector::RPCClient
ROAClient = Aliyun::Connector::ROAClient
-Dysms = Aliyun::Dysms
-Dyvms = Aliyun::Dyvms
+Dysms = Aliyun::Dysms
+Dyvms = Aliyun::Dyvms