Agnus.cache_json
You're seeing just the function
cache_json
, go back to Agnus module for more information.
Specs
cache_json(Agnus.Types.cache_file()) :: Agnus.Types.cache_file()
Enable or disable caching of the JSON response from Sunrise Sunset
Examples
iex> Agnus.cache_json("/tmp/agnus.json")
"/tmp/agnus.json"
iex> Agnus.cache_json(:none)
:none
iex> cf = Agnus.cache_json(:query)
iex> is_binary(cf) or cf == :none
true