lib/revo/loans_api/client.rb in revo-loans_api-0.0.24 vs lib/revo/loans_api/client.rb in revo-loans_api-0.0.25

- old
+ new

@@ -213,14 +213,14 @@ def get_client(guid:) make_request(:get, "clients/#{guid}") end - def create_virtual_card(token:, term_id:) + def create_virtual_card(token:, term_id:, force_approve: false) make_request( :post, "loan_requests/#{token}/virtual_card", - params: { term_id: term_id }, + params: { term_id: term_id, force_approve: force_approve }, headers: { 'Application-Source': application_source } ) end def create_card_loan(token:, term_id:)