Class: WithRateLimit::Cache
- Inherits:
-
Object
- Object
- WithRateLimit::Cache
- Defined in:
- lib/with_rate_limit/cache.rb
Defined Under Namespace
Instance Method Summary collapse
Instance Method Details
#get(key) ⇒ Object
7 8 9 |
# File 'lib/with_rate_limit/cache.rb', line 7 def get(key) raise "Method 'get' must be implemented by a subclass" end |
#set(key, values) ⇒ Object
3 4 5 |
# File 'lib/with_rate_limit/cache.rb', line 3 def set(key, values) raise "Method 'set' must be implemented by a subclass" end |