lib/aliyun-rails.rb in aliyun-rails-0.1.6 vs lib/aliyun-rails.rb in aliyun-rails-0.1.7

- old
+ new

@@ -8,12 +8,13 @@ module Aliyun module Rails class Error < StandardError; end + # 模块方法接受代码块初始化参数 class << self def config(&block) - RPCClient.init_params(&block) + RPCClient.configure(&block) end end # Your code goes here... end