code: def rate_limit(self, name, limit=5, per=60, debug=False):
          
          return RateLimit(self, name, limit, per, debug)
docs: Rate limit implementation. Allows up to `limit` of events every `per`
          seconds.
  
          See :ref:`rate-limit` for more information.