Module: Cash::WriteThrough
- Defined in:
- lib/cash/write_through.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Constant Summary collapse
- DEFAULT_TTL =
12.hours
Class Method Summary collapse
Class Method Details
.included(active_record_class) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/cash/write_through.rb', line 5 def self.included(active_record_class) active_record_class.class_eval do include InstanceMethods extend ClassMethods end end |