class

LuckyCache::HabitatSettings

Inherits Reference < Object

Class methods

default_duration
default_duration=(value : Time::Span)
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.

storage
storage=(value : LuckyCache::BaseStore)
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.

to_h

Generates a hash using the provided values