Liberator.Resource.payment_required-question-mark
You're seeing just the callback
payment_required-question-mark
, go back to Liberator.Resource module for more information.
Specs
payment_required?(Plug.Conn.t()) :: true | false
Check to see if payment is required for this resource.
If this function returns true, then the plug will return a 402 Payment Required response. Please note that the 402 status code is experimental, and is "reserved for future use."
By default, always returns false
.