revo-loans_api 0.0.28 → 0.0.29
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: '08e37406c628d00a46d97199f935acb571bbac877c1f333cc79afbe2d4aca4d8'
|
4
|
+
data.tar.gz: de12784c23fd7ff1adf5d356ffb9eb79a803cf07d5fb7d53b62fd65c2b89ff7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db2a438fc108433e9e30b42b8cda1f485b46b550438c7c347d134dc33c5a37781b0777419655192d11f84df58ed955a07d514c264eca1f6e91efa07b9b33b903
|
7
|
+
data.tar.gz: 93eaa92d94a2b61a49b8a6d7e12370bd7e05b673f046e6795b27979e89d326fe1d32b7bc228d47ddbc96cd69118ecf8a13795fb0ab97eaf8c88a8d9eccb30dd0
|
data/Gemfile.lock
CHANGED
@@ -250,6 +250,22 @@ class Revo::LoansApi::Client
|
|
250
250
|
)
|
251
251
|
end
|
252
252
|
|
253
|
+
def send_restructuring_confirmation_code(client_id:, product:)
|
254
|
+
make_request(:post, "clients/#{client_id}/restructuring/#{product}")
|
255
|
+
end
|
256
|
+
|
257
|
+
def restructuring_info(client_id:, product:)
|
258
|
+
make_request(:get, "clients/#{client_id}/restructuring/#{product}/info")
|
259
|
+
end
|
260
|
+
|
261
|
+
def confirm_restructuring(client_id:, code:, product:)
|
262
|
+
make_request(
|
263
|
+
:post,
|
264
|
+
"clients/#{client_id}/restructuring/#{product}/confirmation",
|
265
|
+
params: { code: code }
|
266
|
+
)
|
267
|
+
end
|
268
|
+
|
253
269
|
def increase_client_limit(client_id:, amount:)
|
254
270
|
make_request(
|
255
271
|
:patch,
|
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.29
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Revo Developers
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-05-
|
11
|
+
date: 2020-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|