zen_ex v0.4.2 ZenEx.Model.Locale

Provides functions to operate Zendesk Locale.

Link to this section Summary

Functions

Show locale specified by Either id or bcp-47 code of locale (es-419, en-us, pr-br).

Link to this section Functions

Specs

show(integer() | String.t()) ::
  %ZenEx.Entity.Locale{
    created_at: term(),
    id: term(),
    locale: term(),
    name: term(),
    updated_at: term(),
    url: term()
  }
  | {:error, String.t()}

Show locale specified by Either id or bcp-47 code of locale (es-419, en-us, pr-br).

Examples

iex> ZenEx.Model.Locale.show("ja")
%ZenEx.Entity.Locale{id: 67, locale: "ja", ...}