revo-loans_api 0.0.46 → 0.0.47
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 +12 -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: f618187b7d79691f0185ab12885b921930c2d5cbd872420dfcf51d777d6c5c81
|
4
|
+
data.tar.gz: d62fe6fc16e180e5077b245395c8c02d5c316f3f0cdbd7a2978f326b9cf25754
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c391be3ca281210466995032b16c686a96a1255704960b4a31fd8a99fc9ea4e100af8ec3ae29a8e7285294f3bb982703c7939ae082ada2b9e78baa93502b4c0a
|
7
|
+
data.tar.gz: f02778458190367fbf1a5b2645e338b2b8089c104991835c632ea8a07a030bbea42456d6224468ee5dd9e26c5326bb651adbc133f3ad837d81334ca97ecc9bf8
|
data/Gemfile.lock
CHANGED
@@ -248,6 +248,18 @@ class Revo::LoansApi::Client
|
|
248
248
|
)
|
249
249
|
end
|
250
250
|
|
251
|
+
def send_billing_shift_confirmation_code(client_id:)
|
252
|
+
make_request(:post, "clients/#{client_id}/billing_shift")
|
253
|
+
end
|
254
|
+
|
255
|
+
def confirm_billing_shift(client_id:, code:, billing_chain:)
|
256
|
+
make_request(
|
257
|
+
:post,
|
258
|
+
"clients/#{client_id}/billing_shift/confirmation",
|
259
|
+
params: { code: code, billing_chain: billing_chain }
|
260
|
+
)
|
261
|
+
end
|
262
|
+
|
251
263
|
def billing_shift_info(client_id:)
|
252
264
|
make_request(:get, "clients/#{client_id}/billing_shift/info")
|
253
265
|
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.
|
4
|
+
version: 0.0.47
|
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-04-
|
11
|
+
date: 2021-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|