Module: ThreeScale::Backend::Memoizer::Decorator
- Included in:
- Alerts, Alerts::UsagesChecked, Application, ThreeScale::Backend::Metric, Service, ServiceToken, Stats::Storage, UsageLimit
- Defined in:
- lib/3scale/backend/memoizer.rb
Overview
Decorator allows a class or module to include it and get
memoize :method1, :method2, ...
using keys “#classname.#methodname-#arg1-#arg2-…”
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
166 167 168 |
# File 'lib/3scale/backend/memoizer.rb', line 166 def self.included(base) base.extend(ClassMethods) end |