Fiat.CacheServer.cache_object

You're seeing just the function cache_object, go back to Fiat.CacheServer module for more information.
Link to this function

cache_object(cache_key, object, expires_in \\ 300)

View Source

Specs

cache_object(term(), term(), integer()) :: true

Caches an object using a cache_key.

Examples

iex> Fiat.CacheServer.cache_object("data", {"code", 2})
true

iex> Fiat.CacheServer.cache_object("data", {"code", 2}, 10)
true