revo-loans_api 0.0.49 → 0.0.50
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/revo/loans_api/client.rb +8 -0
- data/lib/revo/loans_api/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: 0c4fa780fcb87b754e0f192626209ec91725fbb0cf2cae99dc85218096f80860
|
4
|
+
data.tar.gz: 11719e5abd6f42bc2415ee950185217fe1722f4b67e34438d1200e618066dbc8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a67da7430f0fdc674409a85b8449e2a786ac7e91334760451ae70c2a4f35a92773bb4fd3f0049f3d13ce41f5b2443c5ae1b240cb036e8746056a95617400f1b
|
7
|
+
data.tar.gz: 2644d6511b051beb09fb9f56f45351f035c05ac8410951333abea1b9d7ff10c9ae523302ed98676d62ab15bad169b6b51bc6cbf056d3ee5661e3f2f5efa84296
|
data/Gemfile.lock
CHANGED
@@ -357,6 +357,14 @@ class Revo::LoansApi::Client
|
|
357
357
|
make_request(:get, "clients/#{client_id}/credit_ratings/#{report_id}/document")
|
358
358
|
end
|
359
359
|
|
360
|
+
def update_client_address(id:, address:)
|
361
|
+
make_request(:post, "clients/#{id}/address", params: { address: address })
|
362
|
+
end
|
363
|
+
|
364
|
+
def suggest_address(id:, address:)
|
365
|
+
make_request(:get, "clients/#{id}/address", params: { address: address })
|
366
|
+
end
|
367
|
+
|
360
368
|
private
|
361
369
|
|
362
370
|
API_CONTENT_TYPE = 'application/json'.freeze
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: revo-loans_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.50
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Revo Developers
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|