lib/api/account_methods.rb in wepay-rails-2.2.9 vs lib/api/account_methods.rb in wepay-rails-2.5.0

- old
+ new

@@ -7,15 +7,15 @@ def get_account(account_id) self.call_api("/account", {:account_id => account_id}) end - def find_account(args) - self.call_api("/account/find", args) + def find_account(params={}) + self.call_api("/account/find", params) end - def modify_account(args) - self.call_api("/account/modify", args) + def modify_account(account_id, params={}) + self.call_api("/account/modify", params.merge({:account_id => account_id})) end def delete_account(account_id) self.call_api("/account/delete", {:account_id => account_id}) end \ No newline at end of file