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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 04f14c997c972388d16514cb7c88bd5022e47a9ed8289cbb0d75695b87f0eed1
4
- data.tar.gz: 89b6df92ba4fa1c0241f237e2d292402a0a5d09edb680cf6794786843813c28b
3
+ metadata.gz: c948245ee3067834af58681b8e167f9554893d868e05acd9ad921eab5f63a459
4
+ data.tar.gz: 6a7ae291e319499c75b576e8eb1ec535ac1c60da7cf8b44d816a7ab0aab2766b
5
5
  SHA512:
6
- metadata.gz: bf575969a8372c6f6eb7158949ea49022232d4ea71eb8b97380c837ef19a7d1c8a97a088cdb82e31253729f6be6ddd24eb9e5c18b1d3ed32d952c673707de31f
7
- data.tar.gz: f0fdc9b0420ac3e663ac0112a6c7e0173a9a5643109367c58a4313655e09f5b4bce6b044ccae27d3d1de33150d4a6f19545d99e9feb5837183d8065d08e4ba78
6
+ metadata.gz: 1018b8e2e1515621fc55ce68101302f84691d2bf88762ab91eae8db0731ec6b45824a1ec357def5df9320aa84bb7608544def43a0a4f024dd1009dbf11ec27a8
7
+ data.tar.gz: 878daaa2fdf777774e518eb5fc013630cdcfb73690089142f3bf7427c0711be7dddcbdb8b72b233170545940897d162409016800f8df1b473b9e0540086d7373
@@ -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
- * Add transaction_code to Transaction class ([#264](https://github.com/plaid/plaid-ruby/pull/264))
4
- * Add OAuth support to /institutions endpoints ([#261](https://github.com/plaid/plaid-ruby/pull/261))
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
- * Add support for transactions refresh product ([#258](https://github.com/plaid/plaid-ruby/pull/258))
9
- * `/transactions/refresh`
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
- * Add support for deposit switch product ([#251](https://github.com/plaid/plaid-ruby/pull/251))
14
- * Add support for generic processor token ([#256](https://github.com/plaid/plaid-ruby/pull/256))
15
- * Add support for webhook verification ([#249](https://github.com/plaid/plaid-ruby/pull/249))
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
- * Add support for new UK Payment Initiation product ([#246](https://github.com/plaid/plaid-ruby/pull/246))
20
- * `/payment_initiation/recipient/create`
21
- * `/payment_initiation/recipient/get`
22
- * `/payment_initiation/recipient/list`
23
- * `/payment_initiation/payment/create`
24
- * `/payment_initiation/payment/token/create`
25
- * `/payment_initiation/payment/get`
26
- * `/payment_initiation/payment/list`
27
- * Add `consent_expiration_time` to the Item interface ([#247](https://github.com/plaid/plaid-ruby/pull/247))
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
- * Add support for new [Ocrolus Partnership](https://plaid.com/docs/ocrolus/)
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
- * Update Assets schema for international address support
40
+ - Update Assets schema for international address support
37
41
 
38
42
  # 8.1.0 23-Jul-2019
39
43
 
40
- * Add binding for the new [liabilities product](https://plaid.com/docs/api/#liabilities)
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
- * Deprecate direct integration as it is no longer supported
48
+ - Deprecate direct integration as it is no longer supported
45
49
 
46
50
  # 7.1.0 17-Jun-2019
47
51
 
48
- * Add bindings for the new [investments product](https://plaid.com/docs/api/#investments).
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
- * Add support for 2019-05-29 API version
56
+ - Add support for 2019-05-29 API version
53
57
 
54
58
  # 6.3.1 20-Mar-2019
55
59
 
56
- * Remove unnecessary log line
60
+ - Remove unnecessary log line
57
61
 
58
62
  # 6.3.0 5-Mar-2019
59
63
 
60
- * Add support for include_institution_data to /institutions/search endpoint.
61
- * Add support for include_institution_data to /institutions/get endpoint.
62
- * Add support for include_institution data to /institutions/get_by_id endpoint.
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
- * Fix error models to support assets-related errors.
70
+ - Fix error models to support assets-related errors.
67
71
 
68
72
  # 6.2.0 28-Nov-2018
69
73
 
70
- * Assets + Insights reports
74
+ - Assets + Insights reports
71
75
 
72
76
  # 6.1.0 20-Jun-2018
73
77
 
74
- * Add bindings for the new [assets product](https://plaid.com/docs/api/#assets).
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
- * Use `Plaid-Version` header to request the certain compatible API version.
79
- * Change Auth-related data structures to conform to the API.
80
- * Include currency-related fields for transaction and account objects.
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
- * Introduce true response objects instead of deep nested hashes. Any of the
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
- * Add Dwolla and Apex products.
91
+ - Add Dwolla and Apex products.
88
92
 
89
93
  # 4.1.0 04-Jan-2018
90
94
 
91
- * Make `/item/remove` the primary Item removal endpoint
92
- * Add #options parameter to `/institutions/get`
93
- * Handle network errors with `PlaidServerError`
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
- * 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).
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
- * Add `/institutions/all` and `/institutions/all/search` endpoints, see [UPGRADING.md](UPGRADING.md#upgrading-from-2xx-to-300)
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
- * Add `Transaction#reference_number` (@ericbirdsall).
106
- * Fix webhook codes and add risk and income webhooks.
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
- * Documentation fixes (@ishmael).
111
- * Fix `Transaction#to_s` behavior (@michel-tricot).
112
- * PATCH `/:product/step` flow.
113
- * Use the same client in `User#upgrade` (@betesh).
114
- * Webhook object (@zshannon).
115
- * `processor_token` access in `User.exchange_token` (@gylaz).
116
- * Raise `ServerError` in case server returned an empty response body.
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
- * Use `~> 1.0` spec for multi_json dependency.
121
- * Support `stripe_bank_account_token` in `User.exchange_token`.
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
- * Use `:production` instead of `:api` to signify production environment
129
+ - Use `:production` instead of `:api` to signify production environment
126
130
  in `Plaid::Client#env=`.
127
- * `User#mfa_step` allows to specify options now (thanks @gcweeks).
128
- * Implemented `User#update_webhook`.
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
- * Rewrite everything.
136
+ - Rewrite everything.
@@ -25,7 +25,7 @@ GEM
25
25
  ast (~> 2.4.0)
26
26
  powerpack (0.1.1)
27
27
  rainbow (3.0.0)
28
- rake (12.3.1)
28
+ rake (12.3.3)
29
29
  rdoc (6.0.4)
30
30
  rubocop (0.53.0)
31
31
  parallel (~> 1.10)
File without changes
@@ -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.
@@ -1,4 +1,4 @@
1
1
  module Plaid
2
- VERSION = '8.7.0'.freeze
2
+ VERSION = '8.8.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.7.0
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-06 00:00:00.000000000 Z
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
- - PUBLISHING.md
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.0.3
234
+ rubygems_version: 3.1.2
235
235
  signing_key:
236
236
  specification_version: 4
237
237
  summary: Ruby bindings for Plaid