Liberator.Resource.allowed_methods
You're seeing just the callback
allowed_methods
, go back to Liberator.Resource module for more information.
Specs
allowed_methods(Plug.Conn.t()) :: list()
Returns a list of HTTP methods that this module serves.
The methods returned by this function should be upper-case strings, like "GET"
, "POST"
, etc.