Agnus.cache_json

You're seeing just the function cache_json, go back to Agnus module for more information.
Link to this function

cache_json(cache_file \\ :query)

View Source (since 0.1.1)

Specs

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