# File lib/termtter/api.rb, line 119 def proxy_string return unless config.proxy.host if config.proxy.user_name && config.proxy.password "http://#{config.proxy.user_name}:#{config.proxy.password}@#{config.proxy.host}:#{config.proxy.port}" else "http://#{config.proxy.host}:#{config.proxy.port}" end end