class Patron::Request

def timeout=(new_timeout)

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