Class: RateLimit::NoopCache

Inherits:
Object
  • Object
show all
Defined in:
lib/ratelimit/noop_cache.rb

Instance Method Summary collapse

Instance Method Details

#fetch(name, opts, &method) ⇒ Object



3
4
5
# File 'lib/ratelimit/noop_cache.rb', line 3

def fetch(name, opts, &method)
  yield
end

#read(name) ⇒ Object



10
11
# File 'lib/ratelimit/noop_cache.rb', line 10

def read(name)
end

#write(name, value, opts = nil) ⇒ Object



7
8
# File 'lib/ratelimit/noop_cache.rb', line 7

def write(name, value, opts=nil)
end