fidor_starter_kits 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a9f36a71cf140528a255f198e3f9bb39b2941f1a
4
- data.tar.gz: 9d2f59be8b09478bd16b79acd89a1da7387a7795
3
+ metadata.gz: 4df0e9c5000cf5dc388bb42eaa41dc15e68bff48
4
+ data.tar.gz: 2a25eff0b18cb2f58d943b7a3a96b234279f29b7
5
5
  SHA512:
6
- metadata.gz: f7f6cce79401c37a005f590e5741bb2b1e52c11482a5daf319e4e7add3ec6ac272ad1e93c113bf750d62960d61011cfe68615c6854a9cfbdea9a42503bf88b22
7
- data.tar.gz: 12fb81b5b2fcfecc8f69ea9ffa9635f48b4a0e142a17ef8e3d836b20163c72d6d4b04fe73a70d4aa1a957c12b6bda2abccdf0ea145687c296161dfe0b7668867
6
+ metadata.gz: ac1a8ac9fdc024f2665ce6b214c4223200b63919836f8763eb20b9e7662d5157d98e718b5cba0e7a2921264f7c8c4d01dda02da4b8b59e25b40cb19e9612733e
7
+ data.tar.gz: a944dd792fcd25af0513c37df1ac01fa27c369c2340ff7e0bab31dca8ca7e4a47a803b35b778112f840819db7ff30fc945366cb3cbffd1b70c62f822bf671224
@@ -1,3 +1,3 @@
1
1
  module FidorStarterKits
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.2'
3
3
  end
@@ -53,9 +53,7 @@ var querystring = require('querystring')
53
53
  // @param cb : callback function(err, transactions)
54
54
  function apiGetTransactions(accessToken, cb) {
55
55
  // URL endpoint to call to retrieve transactions.
56
- var tx_url = fidor_config.fidor_api_url+
57
- "/transactions?access_token="+
58
- accessToken
56
+ var tx_url = fidor_config.fidor_api_url+"/transactions?access_token="+ accessToken
59
57
 
60
58
  var get = http.get(tx_url, function(res){
61
59
  // response may come in numerous chunks, we need to collect
@@ -71,7 +69,7 @@ function apiGetTransactions(accessToken, cb) {
71
69
  return
72
70
  }
73
71
  var d = JSON.parse(data)
74
- cb(d.error, d.transactions)
72
+ cb(d.error, d.data)
75
73
  })
76
74
  })
77
75
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fidor_starter_kits
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Georg Leciejewski