lib/reapal/api/trust/find_trade_password.rb in reapal-0.2.0 vs lib/reapal/api/trust/find_trade_password.rb in reapal-0.2.1
- old
+ new
@@ -14,16 +14,18 @@
# * :encryptkey
# * :data
# * :url
# * :method
#
- def find_trade_password(contracts, busway='01')
+ def find_trade_password(contracts, returnUrl, notifyUrl, busway='01')
service = 'reapal.trust.findTradePassword'
post_path = '/reagw/findTradePassword/findTradePassword.htm'
params = {
contracts: contracts,
busway: busway,
+ returnUrl: returnUrl,
+ notifyUrl: notifyUrl,
applyTime: Time.now.strftime('%Y-%m-%d %H:%M:%S'),
}
request = Http.get_body(service, params, @config)
request[:method] = :post