plaid 8.7.0 → 8.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +59 -55
- data/Gemfile.lock +1 -1
- data/{PUBLISHING.md → PUBLISH.md} +0 -0
- data/lib/plaid/products/item.rb +26 -0
- data/lib/plaid/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c948245ee3067834af58681b8e167f9554893d868e05acd9ad921eab5f63a459
|
4
|
+
data.tar.gz: 6a7ae291e319499c75b576e8eb1ec535ac1c60da7cf8b44d816a7ab0aab2766b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1018b8e2e1515621fc55ce68101302f84691d2bf88762ab91eae8db0731ec6b45824a1ec357def5df9320aa84bb7608544def43a0a4f024dd1009dbf11ec27a8
|
7
|
+
data.tar.gz: 878daaa2fdf777774e518eb5fc013630cdcfb73690089142f3bf7427c0711be7dddcbdb8b72b233170545940897d162409016800f8df1b473b9e0540086d7373
|
data/CHANGELOG.md
CHANGED
@@ -1,132 +1,136 @@
|
|
1
|
+
# 8.8.0 02-Apr-2020
|
2
|
+
|
3
|
+
- Add support for Item add token endpoint (BETA) ([#269](https://github.com/plaid/plaid-ruby/pull/269))
|
4
|
+
- `/item/add_token/create`
|
5
|
+
|
1
6
|
# 8.7.0 05-Mar-2020
|
2
7
|
|
3
|
-
|
4
|
-
|
8
|
+
- Add transaction_code to Transaction class ([#264](https://github.com/plaid/plaid-ruby/pull/264))
|
9
|
+
- Add OAuth support to /institutions endpoints ([#261](https://github.com/plaid/plaid-ruby/pull/261))
|
5
10
|
|
6
11
|
# 8.6.0 20-Feb-2020
|
7
12
|
|
8
|
-
|
9
|
-
|
13
|
+
- Add support for transactions refresh product ([#258](https://github.com/plaid/plaid-ruby/pull/258))
|
14
|
+
- `/transactions/refresh`
|
10
15
|
|
11
16
|
# 8.5.0 10-Feb-2020
|
12
17
|
|
13
|
-
|
14
|
-
|
15
|
-
|
18
|
+
- Add support for deposit switch product ([#251](https://github.com/plaid/plaid-ruby/pull/251))
|
19
|
+
- Add support for generic processor token ([#256](https://github.com/plaid/plaid-ruby/pull/256))
|
20
|
+
- Add support for webhook verification ([#249](https://github.com/plaid/plaid-ruby/pull/249))
|
16
21
|
|
17
22
|
# 8.4.0 23-Jan-2020
|
18
23
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
24
|
+
- Add support for new UK Payment Initiation product ([#246](https://github.com/plaid/plaid-ruby/pull/246))
|
25
|
+
- `/payment_initiation/recipient/create`
|
26
|
+
- `/payment_initiation/recipient/get`
|
27
|
+
- `/payment_initiation/recipient/list`
|
28
|
+
- `/payment_initiation/payment/create`
|
29
|
+
- `/payment_initiation/payment/token/create`
|
30
|
+
- `/payment_initiation/payment/get`
|
31
|
+
- `/payment_initiation/payment/list`
|
32
|
+
- Add `consent_expiration_time` to the Item interface ([#247](https://github.com/plaid/plaid-ruby/pull/247))
|
29
33
|
|
30
34
|
# 8.3.0 17-Sep-2019
|
31
35
|
|
32
|
-
|
36
|
+
- Add support for new [Ocrolus Partnership](https://plaid.com/docs/ocrolus/)
|
33
37
|
|
34
38
|
# 8.2.0 16-Sep-2019
|
35
39
|
|
36
|
-
|
40
|
+
- Update Assets schema for international address support
|
37
41
|
|
38
42
|
# 8.1.0 23-Jul-2019
|
39
43
|
|
40
|
-
|
44
|
+
- Add binding for the new [liabilities product](https://plaid.com/docs/api/#liabilities)
|
41
45
|
|
42
46
|
# 8.0.0 19-Jun-2019
|
43
47
|
|
44
|
-
|
48
|
+
- Deprecate direct integration as it is no longer supported
|
45
49
|
|
46
50
|
# 7.1.0 17-Jun-2019
|
47
51
|
|
48
|
-
|
52
|
+
- Add bindings for the new [investments product](https://plaid.com/docs/api/#investments).
|
49
53
|
|
50
54
|
# 7.0.0 20-May-2019
|
51
55
|
|
52
|
-
|
56
|
+
- Add support for 2019-05-29 API version
|
53
57
|
|
54
58
|
# 6.3.1 20-Mar-2019
|
55
59
|
|
56
|
-
|
60
|
+
- Remove unnecessary log line
|
57
61
|
|
58
62
|
# 6.3.0 5-Mar-2019
|
59
63
|
|
60
|
-
|
61
|
-
|
62
|
-
|
64
|
+
- Add support for include_institution_data to /institutions/search endpoint.
|
65
|
+
- Add support for include_institution_data to /institutions/get endpoint.
|
66
|
+
- Add support for include_institution data to /institutions/get_by_id endpoint.
|
63
67
|
|
64
68
|
# 6.2.1 14-Feb-2019
|
65
69
|
|
66
|
-
|
70
|
+
- Fix error models to support assets-related errors.
|
67
71
|
|
68
72
|
# 6.2.0 28-Nov-2018
|
69
73
|
|
70
|
-
|
74
|
+
- Assets + Insights reports
|
71
75
|
|
72
76
|
# 6.1.0 20-Jun-2018
|
73
77
|
|
74
|
-
|
78
|
+
- Add bindings for the new [assets product](https://plaid.com/docs/api/#assets).
|
75
79
|
|
76
80
|
# 6.0.0 22-May-2018
|
77
81
|
|
78
|
-
|
79
|
-
|
80
|
-
|
82
|
+
- Use `Plaid-Version` header to request the certain compatible API version.
|
83
|
+
- Change Auth-related data structures to conform to the API.
|
84
|
+
- Include currency-related fields for transaction and account objects.
|
81
85
|
|
82
86
|
# 5.0.0 23-Mar-2018
|
83
87
|
|
84
|
-
|
88
|
+
- Introduce true response objects instead of deep nested hashes. Any of the
|
85
89
|
three syntaxes can be used interchangeably for any API response:
|
86
90
|
`response['foo']['bar']`, `response[:foo][:bar]`, or `response.foo.bar`.
|
87
|
-
|
91
|
+
- Add Dwolla and Apex products.
|
88
92
|
|
89
93
|
# 4.1.0 04-Jan-2018
|
90
94
|
|
91
|
-
|
92
|
-
|
93
|
-
|
95
|
+
- Make `/item/remove` the primary Item removal endpoint
|
96
|
+
- Add #options parameter to `/institutions/get`
|
97
|
+
- Handle network errors with `PlaidServerError`
|
94
98
|
|
95
99
|
# 4.0.0 09-Mar-2017
|
96
100
|
|
97
|
-
|
101
|
+
- Refactored the entire library to support [Plaid's new API](https://blog.plaid.com/improving-our-api/). Use the [transition guide](https://plaid.com/docs/link/transition-guide) to update your integration. Version 3.x.x of this gem is mirrored at [plaid-legacy](https://github.com/plaid/plaid-ruby-legacy).
|
98
102
|
|
99
103
|
# 3.0.0. 17-Jan-2017
|
100
104
|
|
101
|
-
|
105
|
+
- Add `/institutions/all` and `/institutions/all/search` endpoints, see [UPGRADING.md](UPGRADING.md#upgrading-from-2xx-to-300)
|
102
106
|
|
103
107
|
# 2.2.0. 03-Nov-2016
|
104
108
|
|
105
|
-
|
106
|
-
|
109
|
+
- Add `Transaction#reference_number` (@ericbirdsall).
|
110
|
+
- Fix webhook codes and add risk and income webhooks.
|
107
111
|
|
108
112
|
# 2.1.0. 19-Oct-2016
|
109
113
|
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
114
|
+
- Documentation fixes (@ishmael).
|
115
|
+
- Fix `Transaction#to_s` behavior (@michel-tricot).
|
116
|
+
- PATCH `/:product/step` flow.
|
117
|
+
- Use the same client in `User#upgrade` (@betesh).
|
118
|
+
- Webhook object (@zshannon).
|
119
|
+
- `processor_token` access in `User.exchange_token` (@gylaz).
|
120
|
+
- Raise `ServerError` in case server returned an empty response body.
|
117
121
|
|
118
122
|
# 2.0.0. 24-May-2016
|
119
123
|
|
120
|
-
|
121
|
-
|
124
|
+
- Use `~> 1.0` spec for multi_json dependency.
|
125
|
+
- Support `stripe_bank_account_token` in `User.exchange_token`.
|
122
126
|
|
123
127
|
# 2.0.0.alpha.2. 14-May-2016
|
124
128
|
|
125
|
-
|
129
|
+
- Use `:production` instead of `:api` to signify production environment
|
126
130
|
in `Plaid::Client#env=`.
|
127
|
-
|
128
|
-
|
131
|
+
- `User#mfa_step` allows to specify options now (thanks @gcweeks).
|
132
|
+
- Implemented `User#update_webhook`.
|
129
133
|
|
130
134
|
# 2.0.0.alpha. 06-May-2016
|
131
135
|
|
132
|
-
|
136
|
+
- Rewrite everything.
|
data/Gemfile.lock
CHANGED
File without changes
|
data/lib/plaid/products/item.rb
CHANGED
@@ -53,6 +53,27 @@ module Plaid
|
|
53
53
|
end
|
54
54
|
end
|
55
55
|
|
56
|
+
# Public: Class used to call the AddToken sub-product.
|
57
|
+
# BETA
|
58
|
+
class AddToken < BaseProduct
|
59
|
+
def create
|
60
|
+
post_with_auth 'item/add_token/create', CreateResponse, {}
|
61
|
+
end
|
62
|
+
|
63
|
+
# Public: Response for /item/add_token/create.
|
64
|
+
class CreateResponse < Models::BaseResponse
|
65
|
+
##
|
66
|
+
# :attr_reader:
|
67
|
+
# Public: The String token.
|
68
|
+
property :add_token
|
69
|
+
|
70
|
+
##
|
71
|
+
# :attr_reader:
|
72
|
+
# Public: The String token expiration time.
|
73
|
+
property :expiration
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
56
77
|
# Public: Class used to call the PublicToken sub-product
|
57
78
|
class PublicToken < BaseProduct
|
58
79
|
# Public: Creates a public token from an access_token.
|
@@ -152,6 +173,11 @@ module Plaid
|
|
152
173
|
# Public: The Plaid::PublicToken product accessor.
|
153
174
|
subproduct :public_token
|
154
175
|
|
176
|
+
##
|
177
|
+
# :attr_reader:
|
178
|
+
# Public: The Plaid::AddToken product accessor.
|
179
|
+
subproduct :add_token
|
180
|
+
|
155
181
|
##
|
156
182
|
# :attr_reader:
|
157
183
|
# Public: The Plaid::Webhook product accessor.
|
data/lib/plaid/version.rb
CHANGED
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.
|
4
|
+
version: 8.8.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-03
|
11
|
+
date: 2020-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -180,7 +180,7 @@ files:
|
|
180
180
|
- Gemfile
|
181
181
|
- Gemfile.lock
|
182
182
|
- LICENSE.txt
|
183
|
-
-
|
183
|
+
- PUBLISH.md
|
184
184
|
- README.md
|
185
185
|
- Rakefile
|
186
186
|
- UPGRADING.md
|
@@ -231,7 +231,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
231
231
|
- !ruby/object:Gem::Version
|
232
232
|
version: '0'
|
233
233
|
requirements: []
|
234
|
-
rubygems_version: 3.
|
234
|
+
rubygems_version: 3.1.2
|
235
235
|
signing_key:
|
236
236
|
specification_version: 4
|
237
237
|
summary: Ruby bindings for Plaid
|