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

- old
+ new

@@ -237,23 +237,19 @@ params: { term_id: term_id, force_approve: force_approve }, headers: { 'Application-Source': application_source } ) end - def send_billing_shift_confirmation_code(client_id:) - make_request(:post, "clients/#{client_id}/billing_shift") + def send_billing_shift(client_id:, billing_chain:) + make_request( + :post, + "clients/#{client_id}/billing_shift", + params: { billing_chain: billing_chain } + ) end def billing_shift_info(client_id:) make_request(:get, "clients/#{client_id}/billing_shift/info") - end - - def confirm_billing_shift(client_id:, code:, billing_chain:) - make_request( - :post, - "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 })