lib/revo/loans_api/client.rb in revo-loans_api-0.0.20 vs lib/revo/loans_api/client.rb in revo-loans_api-0.0.21
- old
+ new
@@ -182,9 +182,17 @@
def client_loan_documents(client_id:, loan_application_id:)
make_request(:get, "clients/#{client_id}/loans/#{loan_application_id}")
end
+ def get_client_additional_services(client_id:)
+ make_request(:get, "clients/#{client_id}/additional_services")
+ end
+
+ def update_client_additional_services(client_id:, additional_services:)
+ make_request(:patch, "clients/#{client_id}/additional_services", additional_services)
+ end
+
private
API_CONTENT_TYPE = 'application/json'.freeze
attr_reader :base_url, :login, :password