Liberator.Resource.available_media_types
You're seeing just the callback
available_media_types
, go back to Liberator.Resource module for more information.
Specs
available_media_types(Plug.Conn.t()) :: list()
Returns a list of content types that this module serves.
The types returned by this function should be valid MIME types, like text/plain
, application/json
, etc.