【发布时间】:2013-06-05 12:02:04
【问题描述】:
今天在我的日志中看到了这一点。
#############################################################
# WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! #
#############################################################
Using positional arguments is **DEPRECATED**. Please use the
keyword options pattern instead. Version __0.7.0__ of the
Ruby client will not support positional arguments.
负责的代码是:
bank_account.credit((amount*100).to_i)
我要改变什么?在文档中也找不到任何内容。 https://www.balancedpayments.com/docs/api?language=ruby#credit-an-existing-bank-account
【问题讨论】: