lib/reapal/client.rb in reapal-0.10.1 vs lib/reapal/client.rb in reapal-0.11.0
- old
+ new
@@ -21,9 +21,14 @@
recursive_include_api('Reapal::Api')
# 自动 include form 下的模块
recursive_include_api('Reapal::Form')
end
+ def platform_contract
+ # R+PARTNER
+ "R#{@config[:partner_id]}"
+ end
+
def decode_notify_data(encryptkey, data)
::Reapal::Http::Decode.decode_notify_data(encryptkey, data, @config)
end
private