revo-loans_api 0.0.43 → 0.0.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/revo/loans_api/client.rb +14 -0
- data/lib/revo/loans_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7613ac91a7aeddeaca910a0f29d3f608158efbbf6d0b4fbee8b2510d6c157602
|
|
4
|
+
data.tar.gz: 834127cf573e0c91dba5ccd65f7e4cde112353cb8a54cdd4b495057ac849ebe4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8ba447d54755697260d6bb7f6ef08ec4f529e2c2c48940b997f7d867e0859ff765d5901156c0c7a6bbe33bd17f97e97a5c61e24e8db0faf571a05f654e4464dc
|
|
7
|
+
data.tar.gz: b3f4c60053742659c03dba14c06bbc295d886cba5dd46f5a0ba0463feabc8901f977f62f34b455abd6ad811cd57a8f9aeebf7ef1294318af18d77306dd3da627
|
data/Gemfile.lock
CHANGED
|
@@ -247,6 +247,20 @@ class Revo::LoansApi::Client
|
|
|
247
247
|
)
|
|
248
248
|
end
|
|
249
249
|
|
|
250
|
+
# TEMP: method added for backward compatibility with v37
|
|
251
|
+
def confirm_billing_shift(client_id:, code:, billing_chain:)
|
|
252
|
+
make_request(
|
|
253
|
+
:post,
|
|
254
|
+
"clients/#{client_id}/billing_shift/confirmation",
|
|
255
|
+
params: { code: code, billing_chain: billing_chain }
|
|
256
|
+
)
|
|
257
|
+
end
|
|
258
|
+
|
|
259
|
+
# TEMP: method added for backward compatibility with v37
|
|
260
|
+
def send_restructuring_confirmation_code(client_id:, product:)
|
|
261
|
+
make_request(:post, "clients/#{client_id}/restructuring/#{product}")
|
|
262
|
+
end
|
|
263
|
+
|
|
250
264
|
def billing_shift_info(client_id:)
|
|
251
265
|
make_request(:get, "clients/#{client_id}/billing_shift/info")
|
|
252
266
|
end
|