vendor/seahorse/lib/seahorse/client/net_http/connection_pool.rb
# Filters an option hash, merging in default values.
# @return [Hash]
Filters an option hash, merging in default values.
Filters an option hash merging in default values .
def pool_options options
            wire_trace = !!options[:http_wire_trace]
            logger = options[:logger] || Logger.new($stdout) if wire_trace
            verify_peer = options.key?(:ssl_verify_peer) ?
              !!options[:ssl_verify_peer] : true
            {
              :http_proxy => URI.parse(options[:http_proxy].to_s),
              :http_continue_timeout => options[:http_continue_timeout],
              :http_open_timeout => options[:http_open_timeout] || 15,
              :http_idle_timeout => options[:http_idle_timeout] || 5,
              :http_read_timeout => options[:http_read_timeout] || 60,
              :http_wire_trace => wire_trace,
              :logger => logger,
              :ssl_verify_peer => verify_peer,
              :ssl_ca_bundle => options[:ssl_ca_bundle],
              :ssl_ca_directory => options[:ssl_ca_directory],
            }
          end
def pool_options options wire_trace = ! ! options [ :http_wire_trace ] logger = options [ :logger ] || Logger . new ( $stdout ) if wire_trace verify_peer = options . key? ( :ssl_verify_peer ) ? ! ! options [ :ssl_verify_peer ] : true { :http_proxy => URI . parse ( options [ :http_proxy ] . to_s ) , :http_continue_timeout => options [ :http_continue_timeout ] , :http_open_timeout => options [ :http_open_timeout ] || 15 , :http_idle_timeout => options [ :http_idle_timeout ] || 5 , :http_read_timeout => options [ :http_read_timeout ] || 60 , :http_wire_trace => wire_trace , :logger => logger , :ssl_verify_peer => verify_peer , :ssl_ca_bundle => options [ :ssl_ca_bundle ] , :ssl_ca_directory => options [ :ssl_ca_directory ] , } end
Filters an option hash, merging in default values.
Filters an option hash merging in default values .
None
Hash
options