class LuckyCache::HabitatSettings

Defined in:

lucky_cache.cr

Class Method Summary

Class Method Detail

def self.default_duration : Time::Span #

def self.default_duration=(value : Time::Span) #

def self.default_duration? #

Used for checking missing settings on non-nilable types It's advised to use default_duration in your apps to ensure the propper type is checked.


def self.storage : LuckyCache::BaseStore #

def self.storage=(value : LuckyCache::BaseStore) #

def self.storage? #

Used for checking missing settings on non-nilable types It's advised to use storage in your apps to ensure the propper type is checked.


def self.to_h #

Generates a hash using the provided values