View Source
Notionex.API.Client behaviour
(notionex v0.3.1)
Callbacks
@callback request(
%Notionex.API.Request{
body: term(),
headers: term(),
method: term(),
params: term(),
url: term()
},
map()
) :: {:ok, any()} | {:error, any()}
@callback request!(
%Notionex.API.Request{
body: term(),
headers: term(),
method: term(),
params: term(),
url: term()
},
map()
) :: any()