authable v0.9.1 Authable.Renderer behaviour

A behaviour for all renderer modules called by other authable modules.

Creating a custom module

If you are going to create a custom renderer module, then you need to implement following function:

  • render

Link to this section Summary

Callbacks

Puts response body inside Plug.Conn and returns Plug.Conn

Link to this section Callbacks

Link to this callback render(atom, atom, atom)
render(Plug.Conn, Atom, Map) :: Plug.Conn

Puts response body inside Plug.Conn and returns Plug.Conn