SeedHelper.Handles (Migration SeedHelper v0.1.0)
Summary
Functions
Get cached handle by name.
Set handle to value (which will be erlang term encoded) for reference by other seeds. iex> set_handle("default_user", 1234) :ok
Functions
Link to this function
handle(handle, default \\ nil)
Get cached handle by name.
iex> get_handle("default_user_code", 555) iex> get_handle("default_user_code") 555
iex> get_handle("default_user_code_not_set", :not_set) :not_set
Link to this function
init()
Link to this function
set_handle(handle, value)
Set handle to value (which will be erlang term encoded) for reference by other seeds. iex> set_handle("default_user", 1234) :ok