Returns whether we allow external HTTP connections. Useful for mocking/tests.
@return [boolean] true/false
# File lib/typhoeus/hydra/connect_options.rb, line 36 def allow_net_connect? allow_net_connect end
# File lib/typhoeus/hydra/connect_options.rb, line 44 def ignore_hosts @ignore_hosts ||= [] if ignore_localhost? @ignore_hosts + Typhoeus::Request::LOCALHOST_ALIASES else @ignore_hosts end end
Generated with the Darkfish Rdoc Generator 2.