lib/aliyun/connector/rpc_client.rb in aliyun-rails-0.1.20 vs lib/aliyun/connector/rpc_client.rb in aliyun-rails-0.1.21
- old
+ new
@@ -115,10 +115,10 @@
replace_repeat_list(target, key, value)
else
target[key.to_s] = value
end
end
- target
+ target.to_query
end
def normalize(params)
flat_params(params).sort.to_h.map { |key, value| [encode(key), encode(value)] }
end