module ActAsCached::CacheOptions::ClassMethods

Public Instance Methods

logger() click to toggle source
# File lib/act_as_cached/cache_options.rb, line 24
def logger
  options[:logger] || ActAsCached.logger
end
name() click to toggle source
# File lib/act_as_cached/cache_options.rb, line 12
def name
  @name ||= klass.name
end
options() click to toggle source
# File lib/act_as_cached/cache_options.rb, line 8
def options
  @options ||= cache_options.extract_options!
end
prefix() click to toggle source
# File lib/act_as_cached/cache_options.rb, line 16
def prefix
  options[:prefix] || ActAsCached.prefix
end
store() click to toggle source
# File lib/act_as_cached/cache_options.rb, line 20
def store
  options[:cache_store] || ActAsCached.cache_store
end
time() click to toggle source
# File lib/act_as_cached/cache_options.rb, line 28
def time
  options[:expires_time] || ActAsCached.expires_time
end