# File lib/termtter/httppool.rb, line 38 def self.http_class @@http_class ||= if config.proxy.host.nil? or config.proxy.host.empty? Net::HTTP else Net::HTTP::Proxy( config.proxy.host, config.proxy.port, config.proxy.user_name, config.proxy.password) end end