Liberator.Resource.known_methods

You're seeing just the callback known_methods, go back to Liberator.Resource module for more information.
Link to this callback

known_methods(arg1)

View Source (since 1.0)

Specs

known_methods(Plug.Conn.t()) :: list()

Returns a list of HTTP methods that exist.

Note that this is to filter bad HTTP requests, not to filter requests that your endpoint does not serve. You probably want to implement allowed_methods/1 instead.

The methods returned by this function should be upper-case strings, like "GET", "POST", etc.