lib/revo/loans_api/client.rb in revo-loans_api-0.0.33 vs lib/revo/loans_api/client.rb in revo-loans_api-0.0.34
- old
+ new
@@ -202,10 +202,11 @@
def create_client(token:, client_params:, provider_data: {}, skip_email_confirmation: false)
make_request(
:post,
"loan_requests/#{token}/client",
params: { client: client_params, provider_data: provider_data,
- skip_email_confirmation: skip_email_confirmation }
+ skip_email_confirmation: skip_email_confirmation },
+ headers: { 'Application-Source': application_source }
)
end
def update_client(id:, client_params:)
make_request(:patch, "clients/#{id}", params: { client: client_params })