revo-loans_api 0.0.49 → 0.0.53
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 +16 -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: f1e04be7c4fa5e5d792649dfe12601df074bbddf2b96d1d1c2bc949d63ae0c9e
|
4
|
+
data.tar.gz: 65c04a152a3acf6f21b7ebd8d061da2bdcf419824d6a0b1525b0027a63af508b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1485cf81e1e3fd8bae0539fcddddf76e672999b9778e54d635ed56b0438f12fff3f3e9901903e6bcaa9ea0a7794b184bfce7650f2436d393663718654b8e247f
|
7
|
+
data.tar.gz: fe58bbfd07ce80e264d5a837339c21b99d9fb06ddd83896f0ee9f998b69b7fb8e7e3b93fad6f1bda0fcc32d8e2ce2f9c990b90c01716ea634684cae645575987
|
data/Gemfile.lock
CHANGED
@@ -357,6 +357,22 @@ 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
|
+
|
368
|
+
def create_stretch_document(id:, payload:)
|
369
|
+
make_request(:post, "offer/stretch/#{id}", params: { payload: payload })
|
370
|
+
end
|
371
|
+
|
372
|
+
def update_credit_facility(id:, fields:)
|
373
|
+
make_request(:patch, "credit_facilities/#{id}", params: { fields: fields })
|
374
|
+
end
|
375
|
+
|
360
376
|
private
|
361
377
|
|
362
378
|
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.53
|
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-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|