Module: SharkOnLambda::Cacheable
- Defined in:
- lib/shark_on_lambda/cacheable.rb
Instance Method Summary collapse
Instance Method Details
#cache_duration(item) ⇒ Object
7 8 9 |
# File 'lib/shark_on_lambda/cacheable.rb', line 7 def cache_duration(item) cache_durations[item] || cache_durations[:default] end |