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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9281d11d79b77fccf2bd170ddc0097a4634a40727a975b137ccc518f7aacf316
4
- data.tar.gz: e8a66ea2dc25eccd1dda722c5612d6263551c8a67b70c675fccb3a0d99850d13
3
+ metadata.gz: '08e37406c628d00a46d97199f935acb571bbac877c1f333cc79afbe2d4aca4d8'
4
+ data.tar.gz: de12784c23fd7ff1adf5d356ffb9eb79a803cf07d5fb7d53b62fd65c2b89ff7f
5
5
  SHA512:
6
- metadata.gz: 199b54f9e8d5dee7456577936d3809125c46493771b4435c411478844df50e8d5f7d89c8d53a77bcb07f038e7727cc4d320b1d1cd6a6f95f18a35a171047f76e
7
- data.tar.gz: f1379847f7dcdc3da1356a5785ed364828771d92d25519329f8dd4ab6d33716f76a9985ade4bb6a8bc061a779660605834db4bd75f140db642806ddf5b552a5c
6
+ metadata.gz: db2a438fc108433e9e30b42b8cda1f485b46b550438c7c347d134dc33c5a37781b0777419655192d11f84df58ed955a07d514c264eca1f6e91efa07b9b33b903
7
+ data.tar.gz: 93eaa92d94a2b61a49b8a6d7e12370bd7e05b673f046e6795b27979e89d326fe1d32b7bc228d47ddbc96cd69118ecf8a13795fb0ab97eaf8c88a8d9eccb30dd0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- revo-loans_api (0.0.28)
4
+ revo-loans_api (0.0.29)
5
5
  activesupport
6
6
  http
7
7
 
@@ -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,
@@ -1,5 +1,5 @@
1
1
  module Revo
2
2
  module LoansApi
3
- VERSION = '0.0.28'.freeze
3
+ VERSION = '0.0.29'.freeze
4
4
  end
5
5
  end
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.28
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-14 00:00:00.000000000 Z
11
+ date: 2020-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http