lib/revo/loans_api/client.rb in revo-loans_api-0.0.46 vs lib/revo/loans_api/client.rb in revo-loans_api-0.0.47

- old
+ new

@@ -246,9 +246,21 @@ "clients/#{client_id}/billing_shift", params: { billing_chain: billing_chain } ) end + def send_billing_shift_confirmation_code(client_id:) + make_request(:post, "clients/#{client_id}/billing_shift") + 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_info(client_id:) make_request(:get, "clients/#{client_id}/billing_shift/info") end def billing_shift_document(client_id:, billing_chain: nil, billing_shift_id: nil)