lib/rlimiter.rb in rlimiter-1.0.0 vs lib/rlimiter.rb in rlimiter-1.0.2

- old
+ new

@@ -6,10 +6,10 @@ require_files.each do |file| Dir.glob(File.dirname(File.absolute_path(__FILE__)) + file, &method(:require)) end # Module which is single-instantiated in the application via :init. -module Rlimiterclass InvalidClientError < RuntimeError +module Rlimiter class << self # At the moment only redis client is supported. CLIENTS = %w[redis].freeze attr_accessor :client