Module: RocketPants::Cacheable
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/rocket_pants/cacheable.rb
Instance Method Summary collapse
Instance Method Details
#record_cache! ⇒ Object
10 11 12 |
# File 'lib/rocket_pants/cacheable.rb', line 10 def record_cache! RocketPants::Caching.record self end |
#remove_cache! ⇒ Object
14 15 16 |
# File 'lib/rocket_pants/cacheable.rb', line 14 def remove_cache! RocketPants::Caching.remove self end |