diff --git a/HISTORY.md b/HISTORY.md index c7bcf7e0..f8f1ee65 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -3,6 +3,7 @@ ### Added ### Fixed +* Revert recent proxy changes which breaks proxy usage by @andrewdicken-stripe in https://github.com/NetSweet/netsuite/pull/579 ### Breaking Changes diff --git a/lib/netsuite/configuration.rb b/lib/netsuite/configuration.rb index 5f2b0950..91fe7025 100644 --- a/lib/netsuite/configuration.rb +++ b/lib/netsuite/configuration.rb @@ -32,8 +32,8 @@ def connection(params={}, credentials={}, soap_header_extra_info={}) logger: logger, log_level: log_level, log: !silent, # turn off logging entirely if configured + proxy: proxy, }.update(params)) - client.globals.proxy(proxy) if proxy cache_wsdl(client) return client end