class Patron::Request

def connect_timeout=(new_timeout)

def connect_timeout=(new_timeout)
  if new_timeout && new_timeout.to_i < 1
    raise ArgumentError, "Timeout must be a positive integer greater than 0"
  end
  @connect_timeout = new_timeout.to_i
end