lib/rock_fintech/client.rb in rock_fintech-0.4.0 vs lib/rock_fintech/client.rb in rock_fintech-0.5.0
- old
+ new
@@ -23,11 +23,11 @@
# 自动 include form 下的模块
recursive_include_api('RockFintech::Form')
end
- def decode_notify_data(encryptkey, data)
- # ::RockFintech::Http::Decode.decode_notify_data(encryptkey, data, @config)
+ def verify_data?(data)
+ Sign.verify(data, @config)
end
private
def recursive_include_api(module_chain)