lib/hello_sign/client.rb in hellosign-ruby-sdk-3.2.2 vs lib/hello_sign/client.rb in hellosign-ruby-sdk-3.2.3
- old
+ new
@@ -163,10 +163,10 @@
connection.basic_auth email_address, password
else
end
if proxy_uri
connection.options.proxy = {
- :uri => proxy_uri,
+ :uri => proxy_uri.nil? ? nil : URI(proxy_uri),
:user => proxy_user,
:password => proxy_pass
}
end
connection