lib/revo/loans_api/client.rb in revo-loans_api-0.0.39 vs lib/revo/loans_api/client.rb in revo-loans_api-0.0.40

- old
+ new

@@ -253,10 +253,15 @@ "clients/#{client_id}/billing_shift/confirmation", params: { code: code, billing_chain: billing_chain } ) end + def billing_shift_document(client_id:, billing_chain:) + make_request(:get, "clients/#{client_id}/billing_shift/agreement", + params: { billing_chain: billing_chain }) + end + def send_restructuring_confirmation_code(client_id:, product:) make_request(:post, "clients/#{client_id}/restructuring/#{product}") end def restructuring_info(client_id:, product:) @@ -310,18 +315,9 @@ make_request( :get, "stores/#{store_id}/documents/#{kind}.#{format}" ) end - - def certificate(loan_application_id:, kind:) - make_request( - :post, - "loan_applications/#{loan_application_id}/certificate", - params: { kind: kind } - ) - end - private API_CONTENT_TYPE = 'application/json'.freeze