hedwig_dad_joke v1.2.0 HedwigDadJoke.JokeSource behaviour View Source
The behaviour for all sources of dad jokes.
Link to this section Summary
Link to this section Types
Link to this type
api_response() View Source
Link to this type
body() View Source
Link to this type
message() View Source
Link to this type
status()
View Source
status()
View Source
status() :: non_neg_integer()
status() :: non_neg_integer()
Link to this type
url()
View Source
url()
View Source
url() :: String.t()
url() :: String.t()
Link to this section Callbacks
Link to this callback
client(arg0)
View Source
client(arg0)
View Source
client(HedwigDadJoke.Config.t()) :: term()
client(HedwigDadJoke.Config.t()) :: term()
Link to this callback
format(api_response, arg1)
View Source
format(api_response, arg1)
View Source
format(api_response(), HedwigDadJoke.Config.t()) :: message()
format(api_response(), HedwigDadJoke.Config.t()) :: message()
Link to this callback