module ArtirixDataModels::CachedActionAdaptor::GetFull::WithoutTimestamp

Public Class Methods

cache_key_from_model(model) click to toggle source
# File lib/artirix_data_models/cached_action_adaptor/get_full.rb, line 67
def self.cache_key_from_model(model)
  ArtirixDataModels::CacheService.key :dao_get_full_no_time, model
end
cache_options(dao_name) click to toggle source
# File lib/artirix_data_models/cached_action_adaptor/get_full.rb, line 71
def self.cache_options(dao_name)
  ArtirixDataModels::CacheService.first_options "dao_#{dao_name}_get_full_options",
                                                "dao_#{dao_name}_get_full_no_time_options",
                                                'dao_get_full_no_time_options',
                                                "dao_#{dao_name}_options",
                                                'dao_get_full_options',
                                                return_if_missing: :default
end