Skip to content

A platform for community discussion. Free, open, simple.

273 B
Raw Blame
# frozen_string_literal: true

module RequestTracker
  module RateLimiters
    class IP < Base
      def rate_limit_key
        "ip/#{@request.ip}"
      end

      def rate_limit_globally?
        true
      end

      def active?
        true
      end
    end
  end
end