plaid 8.5.0 → 8.6.0

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
  SHA256:
3
- metadata.gz: da09c74c4e425edb5481861ca9be64d5fbb8dbda67b742d34ca707fb90afc088
4
- data.tar.gz: d43ec775772db6a2a89738654864378f6cbbe037c53d5673c2f93ff8516cf1c6
3
+ metadata.gz: 41cc4c06b9a0c541fa2ffd841719cdfa77094cbb58cff66da5da2a5c93041d49
4
+ data.tar.gz: 58dbc6d34564c9a722a7e5b363dfa5e5e936595d8ce2dc7cfc4c822167311cef
5
5
  SHA512:
6
- metadata.gz: dbcc0d8ab622c492f5cbf61fb2f32f6d75b52099e7c379524fe6736d9674adca7b9e3f5b302f9571d43667a2f3431818fda9e2806397ab82f9cd74f492f0f569
7
- data.tar.gz: 4e8f6b22c61ebd8f73e61c72e079900f3bce5356c5d524557163030a5a5313f35379b3c3069fdd6cd3313700025e243605513810c11ea9ebf971becf5222da69
6
+ metadata.gz: f977958b16a7a5525d3067dcc26809d80100cc413a4000b5e707946af5e8f99f9cadc9667ba4263abd8fc31d342e4fbe4389edd3b9acef48bad725cd3382d3e5
7
+ data.tar.gz: fe9a5254fa4e7da0e5151be238418c74602bda66eda00572697b63e06be26d265cbd614429c1830f493b1e47eb5b41bb250d6b744e50473cc30876ca58822a55
@@ -1,3 +1,8 @@
1
+ # 8.6.0 20-Feb-2020
2
+
3
+ * Add support for transactions refresh product ([#258](https://github.com/plaid/plaid-ruby/pull/258))
4
+ * `/transactions/refresh`
5
+
1
6
  # 8.5.0 10-Feb-2020
2
7
 
3
8
  * Add support for deposit switch product ([#251](https://github.com/plaid/plaid-ruby/pull/251))
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- plaid (8.4.0)
4
+ plaid (8.5.0)
5
5
  faraday
6
6
  faraday_middleware
7
7
  hashie (>= 3.4.3)
@@ -62,5 +62,20 @@ module Plaid
62
62
  # Public: The Numeric total transactions count.
63
63
  property :total_transactions
64
64
  end
65
+
66
+ # Public: Manually refresh transactions
67
+ #
68
+ # Does a POST /transactions/refresh call which kicks off a manual
69
+ # transactions extraction for all accounts contained in the access_token's
70
+ # item.
71
+ #
72
+ # access_token - access_token who's item to fetch transactions for.
73
+ #
74
+ # Returns BaseResponse.
75
+ def refresh(access_token)
76
+ post_with_auth 'transactions/refresh',
77
+ Models::BaseResponse,
78
+ access_token: access_token
79
+ end
65
80
  end
66
81
  end
@@ -1,4 +1,4 @@
1
1
  module Plaid
2
- VERSION = '8.5.0'.freeze
2
+ VERSION = '8.6.0'.freeze
3
3
  API_VERSION = '2019-05-29'.freeze
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plaid
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.5.0
4
+ version: 8.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edmund Loo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-02-11 00:00:00.000000000 Z
11
+ date: 2020-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday