lib/plaid/user/user.rb in plaid-1.4.2 vs lib/plaid/user/user.rb in plaid-1.4.3
- old
+ new
@@ -111,18 +111,18 @@
self
end
end
# Instantiate and build a new account object, return this to the accounts array
- def new_account(account)
- @account = Account.new
- @account.new(account)
+ def new_account(res)
+ account = Account.new
+ account.new(res)
end
# Instantiate and build a new account object, return this to the accounts array
- def new_transaction(transaction)
- @transaction = Transaction.new
- @transaction.new(transaction)
+ def new_transaction(res)
+ transaction = Transaction.new
+ transaction.new(res)
end
private
def clean_up_user(user)
\ No newline at end of file