class HTTParty::ConnectionAdapter

def initialize(uri, options = {})

def initialize(uri, options = {})
  uri_adapter = options[:uri_adapter] || URI
  raise ArgumentError, "uri must be a #{uri_adapter}, not a #{uri.class}" unless uri.is_a? uri_adapter
  @uri = uri
  @options = OPTION_DEFAULTS.merge(options)
end