plaid 8.9.0 → 9.0.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 +9 -0
- data/Gemfile.lock +5 -5
- data/PUBLISH.md +1 -1
- data/README.md +1 -1
- data/lib/plaid/products/item.rb +0 -28
- data/lib/plaid/products/sandbox.rb +18 -0
- data/lib/plaid/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b01d399843f5783e0e0cf64e88392b8c883eb29288d8c0535c1b7fbc9c34c32
|
4
|
+
data.tar.gz: 8c267612077441ef461b8b590f4a40959d680085558d42145b0cc2d179e5a726
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e976a0ba72f8a33ac057ce3fe0589324934c8e292a314acc33ad9014999fa8e230beb15b45ee02a8f55a4c3c0b12c668a453091f1f9d091ac16add0575217038
|
7
|
+
data.tar.gz: 9b91b0105aa3ac0450d6bc38158390ebff5bc70066eb2d61924cd17039c7a9f670a9d1282169b38a2fb3ca860cf4af9ef14082ae992cdfe5b309bcb9a80b01f8
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
# 9.0.0
|
2
|
+
|
3
|
+
- Adds support for `/sandbox/item/set_verification_status`
|
4
|
+
- Removes support for deprecated `/item/access_token/update_version` endpoint
|
5
|
+
|
6
|
+
BREAKING CHANGES:
|
7
|
+
|
8
|
+
- Removes `client.item.update_version`
|
9
|
+
|
1
10
|
# 8.9.0 16-Apr-2020
|
2
11
|
|
3
12
|
- Add client_user_id to Item add token endpoint ([#274](https://github.com/plaid/plaid-ruby/pull/274))
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
plaid (
|
4
|
+
plaid (9.0.0)
|
5
5
|
faraday
|
6
6
|
faraday_middleware
|
7
7
|
hashie (>= 3.4.3)
|
@@ -11,11 +11,11 @@ GEM
|
|
11
11
|
specs:
|
12
12
|
ast (2.4.0)
|
13
13
|
dotenv (2.4.0)
|
14
|
-
faraday (0.
|
14
|
+
faraday (1.0.1)
|
15
15
|
multipart-post (>= 1.2, < 3)
|
16
|
-
faraday_middleware (0.
|
17
|
-
faraday (
|
18
|
-
hashie (4.
|
16
|
+
faraday_middleware (1.0.0)
|
17
|
+
faraday (~> 1.0)
|
18
|
+
hashie (4.1.0)
|
19
19
|
minitest (5.11.3)
|
20
20
|
minitest-around (0.4.1)
|
21
21
|
minitest (~> 5.0)
|
data/PUBLISH.md
CHANGED
@@ -8,7 +8,7 @@ To publish:
|
|
8
8
|
2. Update, commit, and merge (with review) the `lib/plaid/version.rb` and `CHANGELOG.md` files.
|
9
9
|
5. `git pull` (makes sure your `HEAD` is up-to-date).
|
10
10
|
6. `rake release` (builds the gem, creates a tag, pushes the gem to RubyGems and tag to GitHub).
|
11
|
-
7. `rake update_github_docs` (generates RDoc files, updates `gh-pages` branch and pushes it to GitHub).
|
11
|
+
7. `rake update_github_docs` (generates RDoc files, updates `gh-pages` branch and pushes it to GitHub). (If you run into a `gh-pages` branch error, you may need to manually run `git checkout gh-pages` to ensure the branch is checked out locally.)
|
12
12
|
|
13
13
|
[1]: https://rubygems.org/
|
14
14
|
[2]: https://rubygems.org/gems/plaid
|
data/README.md
CHANGED
@@ -26,7 +26,7 @@ Each major version of `plaid-ruby` targets a specific version of the Plaid API:
|
|
26
26
|
|
27
27
|
| API version | plaid-ruby release |
|
28
28
|
| ----------- | ------------------ |
|
29
|
-
| [`2019-05-29`][api-version-2019-05-29] (**latest**) | `8.x.x`, `7.x.x` |
|
29
|
+
| [`2019-05-29`][api-version-2019-05-29] (**latest**) | `9.x.x`, `8.x.x`, `7.x.x` |
|
30
30
|
| [`2018-05-22`][api-version-2018-05-22] | `6.x.x` |
|
31
31
|
| `2017-03-08` | `5.x.x` |
|
32
32
|
|
data/lib/plaid/products/item.rb
CHANGED
@@ -23,34 +23,6 @@ module Plaid
|
|
23
23
|
# Public: The String new access token.
|
24
24
|
property :new_access_token
|
25
25
|
end
|
26
|
-
|
27
|
-
# Public: Generate a new API access_token for a legacy access_token
|
28
|
-
#
|
29
|
-
# Does a POST /item/access_token/update_version call which will give you
|
30
|
-
# an access_token for the new API.
|
31
|
-
#
|
32
|
-
# access_token_v1 - legacy access_token
|
33
|
-
#
|
34
|
-
# Returns an UpdateVersionResponse object with new access_token and item
|
35
|
-
# ID.
|
36
|
-
def update_version(access_token_v1)
|
37
|
-
post_with_auth 'item/access_token/update_version',
|
38
|
-
UpdateVersionResponse,
|
39
|
-
access_token_v1: access_token_v1
|
40
|
-
end
|
41
|
-
|
42
|
-
# Public: Response for /item/access_token/update_version.
|
43
|
-
class UpdateVersionResponse < Models::BaseResponse
|
44
|
-
##
|
45
|
-
# :attr_reader:
|
46
|
-
# Public: The String new access token for use.
|
47
|
-
property :access_token
|
48
|
-
|
49
|
-
##
|
50
|
-
# :attr_reader:
|
51
|
-
# Public: The String item ID.
|
52
|
-
property :item_id
|
53
|
-
end
|
54
26
|
end
|
55
27
|
|
56
28
|
# Public: Class used to call the AddToken sub-product.
|
@@ -44,6 +44,24 @@ module Plaid
|
|
44
44
|
# Public: The Boolean webhook fired success flag.
|
45
45
|
property :webhook_fired
|
46
46
|
end
|
47
|
+
|
48
|
+
# Public: Sets the verification status for an item
|
49
|
+
# created via automated microdeposits
|
50
|
+
#
|
51
|
+
# Does a POST /sandbox/item/set_verification_status call.
|
52
|
+
#
|
53
|
+
# access_token - access_token of the item
|
54
|
+
# account_id - id of the account to verify
|
55
|
+
# verification_status - status to set
|
56
|
+
#
|
57
|
+
# Returns a Models::BaseResponse object.
|
58
|
+
def set_verification_status(access_token, account_id, verification_status)
|
59
|
+
post_with_auth '/sandbox/item/set_verification_status',
|
60
|
+
Models::BaseResponse,
|
61
|
+
access_token: access_token,
|
62
|
+
account_id: account_id,
|
63
|
+
verification_status: verification_status
|
64
|
+
end
|
47
65
|
end
|
48
66
|
|
49
67
|
# Public: Class used to call the SandboxPublicToken sub-product
|
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:
|
4
|
+
version: 9.0.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-
|
11
|
+
date: 2020-05-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -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
|