Liberator.Resource.language_available-question-mark

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

language_available?(arg1)

View Source (since 1.0)

Specs

language_available?(Plug.Conn.t()) :: true | false

Check if the requested language is available.

By default, uses the values returned by available_languages/1, and returns a map with the key :language set to the negotiated language, which will be merged into conn.assigns.