belvo 0.6.3 → 0.7.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 +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +12 -2
- data/lib/belvo/options.rb +2 -0
- data/lib/belvo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8eec099b22dbcb9dbac55982ac84c447bdae2f69c5f06bb310ea8a1be8889b1d
|
|
4
|
+
data.tar.gz: dfe77adac6722c395f8b31c867a2a803dabd226fcbda6452ffb29dbe6310e412
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 71f7405acc9de362147b1182644c0af7bfe358160d070eaaae59b41d95caec18800d9bb589e61ef7dd0ae6ef2c22418cda0dfcd636d1f5165ae430d01b5dd0be
|
|
7
|
+
data.tar.gz: 90c3ce711c21df50880301629d3555f8dff981441e1dc30e1065e5182550dfd1e1bf43e282d47e58da05cd8131669eb00974f48aa7879ca22c06cf11b94d46a7
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -5,8 +5,17 @@
|
|
|
5
5
|
<a href="https://coveralls.io/github/belvo-finance/belvo-ruby"><img alt="Coveralls github" src="https://img.shields.io/coveralls/github/belvo-finance/belvo-ruby?style=for-the-badge"></a>
|
|
6
6
|
<a href="https://codeclimate.com/github/belvo-finance/belvo-ruby"><img alt="CodeClimate maintainability" src="https://img.shields.io/codeclimate/maintainability/belvo-finance/belvo-ruby?style=for-the-badge"></a>
|
|
7
7
|
</p>
|
|
8
|
-
<p align="center"><a href="https://developers.belvo.co">Developers portal</a> | <a href="https://belvo-finance.github.io/belvo-ruby">Documentation</a></p>
|
|
9
8
|
|
|
9
|
+
## 📕 Documentation
|
|
10
|
+
How to use `belvo-ruby`: https://belvo-finance.github.io/belvo-ruby/
|
|
11
|
+
|
|
12
|
+
If you want to check the full documentation about Belvo API: https://docs.belvo.co
|
|
13
|
+
|
|
14
|
+
Or if you want to more information about:
|
|
15
|
+
* [Getting Belvo API keys](https://developers.belvo.com/docs/get-your-belvo-api-keys)
|
|
16
|
+
* [Using Connect Widget](https://developers.belvo.com/docs/connect-widget)
|
|
17
|
+
* [Testing in sandbox](https://developers.belvo.com/docs/test-in-sandbox)
|
|
18
|
+
* [Using webhooks and recurrent links](https://developers.belvo.com/docs/webhooks)
|
|
10
19
|
|
|
11
20
|
## Installation
|
|
12
21
|
|
|
@@ -39,7 +48,8 @@ begin
|
|
|
39
48
|
new_link = belvo.links.register(
|
|
40
49
|
institution: 'banamex_mx_retail',
|
|
41
50
|
username: 'janedoe',
|
|
42
|
-
password: 'super-secret'
|
|
51
|
+
password: 'super-secret',
|
|
52
|
+
options: { access_mode: Belvo::Link::AccessMode::SINGLE }
|
|
43
53
|
)
|
|
44
54
|
|
|
45
55
|
belvo.accounts.retrieve(link: new_link['id'])
|
data/lib/belvo/options.rb
CHANGED
|
@@ -8,6 +8,7 @@ module Belvo
|
|
|
8
8
|
# @!attribute access_mode [rw] Link access mode (SINGLE or RECURRENT)
|
|
9
9
|
# @!attribute token [rw] OTP token required by the institution
|
|
10
10
|
# @!attribute username2 [rw] End-user secondary username, if any
|
|
11
|
+
# @!attribute username3 [rw] End-user tertiary username, if any
|
|
11
12
|
# @!attribute password2 [rw] End-user secondary password, if any
|
|
12
13
|
# @!attribute encryption_key [rw] Custom encryption key
|
|
13
14
|
# @!attribute username_type [rw] Type of the username provided
|
|
@@ -15,6 +16,7 @@ module Belvo
|
|
|
15
16
|
:access_mode,
|
|
16
17
|
:token,
|
|
17
18
|
:username2,
|
|
19
|
+
:username3,
|
|
18
20
|
:password2,
|
|
19
21
|
:encryption_key,
|
|
20
22
|
:username_type,
|
data/lib/belvo/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: belvo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.7.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Belvo Finance S.L.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-11-
|
|
11
|
+
date: 2020-11-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|