lib/redis-throttler.rb in redis-throttler-0.1.2 vs lib/redis-throttler.rb in redis-throttler-0.1.3
- old
+ new
@@ -1,9 +1,9 @@
require 'redis'
class RedisThrottler
def self.included(base)
- base.extend(RedisThrottler::Model)
+ base.include(RedisThrottler::Model)
end
# Create a RedisThrottler object.
#
# @param [String] key A name to uniquely identify this rate limit. For example, 'emails'
# @param [Hash] options Options hash
\ No newline at end of file