lib/revo/loans_api/client.rb in revo-loans_api-0.0.54 vs lib/revo/loans_api/client.rb in revo-loans_api-0.0.55

- old
+ new

@@ -241,9 +241,18 @@ params: { term_id: term_id, force_approve: force_approve }, headers: { 'Application-Source': application_source } ) end + def update_virtual_card(token:, term_id:) + make_request( + :patch, + "loan_requests/#{token}/virtual_card", + params: { term_id: term_id }, + headers: { 'Application-Source': application_source } + ) + end + def create_card_loan(token:, term_id:, force_approve: false) make_request( :post, "loan_requests/#{token}/virtual_card_loan", params: { term_id: term_id, force_approve: force_approve },