finapps 0.1.17.pre → 0.1.18.pre

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: edbcabb394047440c61ac3d07428cfa6419e6116
4
- data.tar.gz: e0466c732b7030103382f934bef46b212ebb567e
3
+ metadata.gz: 0ad69f21bcdb720364b53650e62bc3771a4941df
4
+ data.tar.gz: c7b7cb952bb427c94ac31b525d2e2232be49bd59
5
5
  SHA512:
6
- metadata.gz: e69b5f639bddeda0516a38c4b28f8952fabebd1ad5a16a34fd4224f58d10d352f7a09147d607e810c25a4cd913291038a8e330007788045237028ca1f9585600
7
- data.tar.gz: 694ad0795837db45b194f8bd4a5bcca949c9fdb8461b41a6b726b33275e2efb0fbbdbcac9a5d40de8a37e3207fb83bc605f70d4045674ef4e5586824c440f596
6
+ metadata.gz: e7d754a4f88ea826240c38438c5c9e49e11207037cc870f0709993cce4054d8b29ed5c7a2c94a2ed72c961de1fb34b3a1a7cf104680e713ac14857adc2c155aa
7
+ data.tar.gz: 29d7b2858f2af8010708231c9eb47b367038617eb1d2b5e79c9728696502b09cd95357894360a2966f966537bb7ab5fb1e924e10f3269da48550a45bc29785a0
@@ -15,7 +15,7 @@ module FinApps
15
15
  logger.debug "##{__method__.to_s} => path: #{path}"
16
16
 
17
17
  transactions, error_messages = @client.send(path, :post, params) do |r|
18
- r.body.each { |i| Transaction.new(i) }
18
+ r.body.transactions.each { |i| Transaction.new(i) }
19
19
  end
20
20
 
21
21
  logger.debug "##{__method__.to_s} => Completed"
@@ -29,5 +29,29 @@ module FinApps
29
29
  :type, :status, :keyword, :merchant_name, :categories, :tags
30
30
  end
31
31
 
32
+
33
+ =begin
34
+ "transactions": [
35
+ {
36
+ "_id": "53d69a6f1184140013000006",
37
+ "account_id": "53d69a6e1184140013000004",
38
+ "date": "2014-07-15T07:00:00Z",
39
+ "transaction_date": "0001-01-01T00:00:00Z",
40
+ "description": "AUTOMATIC PAYMENT-THANK",
41
+ "amount": 25,
42
+ "type": "credit",
43
+ "status": "posted",
44
+ "keyword": "payment - thank",
45
+ "merchant_name": "Payment Thank You",
46
+ "categories": [
47
+ {
48
+ "category_id": "",
49
+ "amount": 25
50
+ }
51
+ ],
52
+ "tags": []
53
+ },
54
+ =end
55
+
32
56
  end
33
57
  end
@@ -1,3 +1,3 @@
1
1
  module FinApps
2
- VERSION = '0.1.17.pre'
2
+ VERSION = '0.1.18.pre'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: finapps
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.17.pre
4
+ version: 0.1.18.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erich Quintero