zen_ex v0.3.3 ZenEx.Model.Locale

Provides functions to operate Zendesk Locale.

Summary

Functions

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

Functions

show(id)
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", ...}