Module: ArtirixDataModels::CachedActionAdaptor::GetFull::WithTimestamp
- Defined in:
- lib/artirix_data_models/cached_action_adaptor/get_full.rb
Class Method Summary collapse
Class Method Details
.cache_key_from_model(model) ⇒ Object
54 55 56 |
# File 'lib/artirix_data_models/cached_action_adaptor/get_full.rb', line 54 def self.cache_key_from_model(model) ArtirixDataModels::CacheService.key :dao_get_full, model end |
.cache_options(dao_name) ⇒ Object
58 59 60 61 62 63 |
# File 'lib/artirix_data_models/cached_action_adaptor/get_full.rb', line 58 def self.(dao_name) ArtirixDataModels::CacheService. "dao_#{dao_name}_get_full_options", "dao_#{dao_name}_options", 'dao_get_full_options', return_if_missing: :default end |