From f6041e6e13a61307d8fc868b47e0ba0c1d3e48fc Mon Sep 17 00:00:00 2001 From: Christian Schuetz Date: Thu, 5 Apr 2018 09:12:28 -0500 Subject: [PATCH] fix: nil defaults for proxy_addr & proxy_port Modifies the default values for proxy_addr and proxy_port to be nil instead of blank strings. This ensures that Net::HTTP doesn't interpret them as meaningful values if not specified. --- lib/EnvironmentVariables.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/EnvironmentVariables.rb b/lib/EnvironmentVariables.rb index 0d9ee0b..6a623a2 100644 --- a/lib/EnvironmentVariables.rb +++ b/lib/EnvironmentVariables.rb @@ -7,8 +7,8 @@ def initialize @currency_merchant_map = '' @default_report_group = 'Default Report Group' @url = '' - @proxy_addr = '' - @proxy_port = '' + @proxy_addr = nil + @proxy_port = nil @sftp_username = '' @sftp_password = '' @sftp_url = ''