Based on README, instance.update takes new data as an first argument, but for account this is not true. Instead I need to set new data to account instance, and then call update with callback as first argument.
var account = recurly.Account();
account.id = 'ACCOUNT_ID';
account.email = 'NEW_EMAIL;
account.update(function(err, account)
instead of documented
var account = recurly.Account();
account.id = 'ACCOUNT_ID';
account.update({email: 'NEW_EMAIL'}, function(err, account)
BillingInfo, Plan, Subscription seems to work as documented..
Based on README, instance.update takes new data as an first argument, but for account this is not true. Instead I need to set new data to account instance, and then call update with callback as first argument.
instead of documented
BillingInfo, Plan, Subscription seems to work as documented..