lib/revo/loans_api/client.rb in revo-loans_api-0.0.29 vs lib/revo/loans_api/client.rb in revo-loans_api-0.0.30
- old
+ new
@@ -264,9 +264,16 @@
"clients/#{client_id}/restructuring/#{product}/confirmation",
params: { code: code }
)
end
+ def restructuring_document(client_id:, product:, format: 'pdf')
+ make_request(
+ :get,
+ "clients/#{client_id}/restructuring/#{product}/document.#{format}"
+ )
+ end
+
def increase_client_limit(client_id:, amount:)
make_request(
:patch,
"clients/#{client_id}/limit",
params: { amount: amount }