lib/revo/loans_api/client.rb in revo-loans_api-0.0.19 vs lib/revo/loans_api/client.rb in revo-loans_api-0.0.20
- old
+ new
@@ -178,9 +178,13 @@
def increase_client_limit(client_id:, amount:)
make_request(:patch, "clients/#{client_id}/limit", amount: amount)
end
+ def client_loan_documents(client_id:, loan_application_id:)
+ make_request(:get, "clients/#{client_id}/loans/#{loan_application_id}")
+ end
+
private
API_CONTENT_TYPE = 'application/json'.freeze
attr_reader :base_url, :login, :password