ExLaunchDark.LDSandbox (ex_launch_dark v1.2.4)

View Source

A module for testing purposes.

Summary

Functions

get_all_flags_state_random(project_id, context_kind)

@spec get_all_flags_state_random(atom(), binary()) :: map()

get_flag_value_context_kind(project_id, flag_key, context_kind, context_attr \\ %{})

@spec get_flag_value_context_kind(atom(), binary(), binary(), map() | nil) ::
  {atom(), any(), any()}

get_flag_value_fixed_context(project_id, flag_key, context_kind, context_key, context_attr \\ %{})

@spec get_flag_value_fixed_context(atom(), binary(), binary(), binary(), map() | nil) ::
  {atom(), any(), any()}

get_flag_value_random_context(project_id, flag_key, default \\ :null)

@spec get_flag_value_random_context(atom(), binary(), atom() | binary() | nil) ::
  {atom(), any(), any()}