lib/reapal/client.rb in reapal-0.2.2 vs lib/reapal/client.rb in reapal-0.3.0
- old
+ new
@@ -21,11 +21,11 @@
recursive_include_api('Reapal::Api')
# 自动 include form 下的模块
recursive_include_api('Reapal::Form')
end
- def decode_data(encryptkey, data)
- ::Reapal::Http::decode_data(encryptkey, data, @config)
+ def decode_notify_data(encryptkey, data)
+ ::Reapal::Http::Decode.decode_notify_data(encryptkey, data, @config)
end
private
def recursive_include_api(module_chain)
modules = eval("#{module_chain}.constants").each{ |constant| eval("#{module_chain}::#{constant}").class.kind_of?(Module) }