View Source Rivet.Utils.Codes (rivet_utils v1.1.7)
Contributor: Brandon Gillespie
Link to this section Summary
Functions
iex> cleaned_short_id("asdf-L0Ol") "asdf1001"
iex> {:ok, code} = generate(5, fn _ -> false end) iex> String.length(code) 5
iex> uuid = stripped_uuid() iex> String.length(uuid) 31
Link to this section Functions
iex> cleaned_short_id("asdf-L0Ol") "asdf1001"
iex> {:ok, code} = generate(5, fn _ -> false end) iex> String.length(code) 5
iex> uuid = stripped_uuid() iex> String.length(uuid) 31