syrup 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/syrup/institutions/zions_bank.rb +2 -2
- data/lib/syrup/version.rb +1 -1
- metadata +1 -1
@@ -38,7 +38,7 @@ module Syrup
|
|
38
38
|
end
|
39
39
|
json['accountBalance']['creditAccountList'].each do |account|
|
40
40
|
new_account = Account.new(:id => account['accountId'], :institution => self)
|
41
|
-
new_account.name =
|
41
|
+
new_account.name = unescape_html(account['name'])
|
42
42
|
new_account.account_number = account['number']
|
43
43
|
new_account.current_balance = parse_currency(account['balanceDueAmt'])
|
44
44
|
new_account.type = :credit
|
@@ -96,7 +96,7 @@ module Syrup
|
|
96
96
|
transaction = Transaction.new
|
97
97
|
|
98
98
|
transaction.posted_at = Date.strptime(data[0], '%m/%d/%Y')
|
99
|
-
transaction.payee =
|
99
|
+
transaction.payee = unescape_html(data[2])
|
100
100
|
transaction.status = data[3].include?("Posted") ? :posted : :pending
|
101
101
|
unless data[4].empty?
|
102
102
|
transaction.amount = -parse_currency(data[4])
|
data/lib/syrup/version.rb
CHANGED