AutoApi.Permissions.format
You're seeing just the function
format
, go back to AutoApi.Permissions module for more information.
Converts the list of scope-formatted permissions into their human readable equivalent
Examples
iex> AutoApi.Permissions.format ["car.full_control"] ["full control of the car"]
iex> AutoApi.Permissions.parse("charge.read,lights.read,climate.write") ...> |> AutoApi.Permissions.format ["Allowed to get the charge state", "Allowed to get the lights state", "Allowed to set climate profile and start/stop HVAC"]