ZenEx.Model.Locale (zen_ex v0.8.0)
Provides functions to operate Zendesk Locale.
Link to this section Summary
Link to this section Functions
Link to this function
show(id)
@spec show(integer() | String.t()) :: {:ok, %ZenEx.Entity.Locale{ created_at: term(), id: term(), locale: term(), name: term(), updated_at: term(), url: term() }} | {:error, any()}
Show locale specified by Either id or bcp-47 code of locale (es-419, en-us, pr-br).
examples
Examples
iex> ZenEx.Model.Locale.show("ja")
{:ok, %ZenEx.Entity.Locale{id: 67, locale: "ja", ...}}