segment v2.0.0-rc.2 Segment.Sandbox View Source
Provides an api that can be used in tests to ensure data is correctly sent to segment.io.
Link to this section Summary
Functions
Checkout function provides means to reset sandbox state to blank initial state.
Returns a specification to start this module under a supervisor.
Link to this section Functions
Link to this function
alias_user(a) View Source
Link to this function
alias_user(user_id, previous_id, context \\ Context.new()) View Source
Link to this function
checkout() View Source
Checkout function provides means to reset sandbox state to blank initial state.
Link to this function
child_spec(arg) View Source
Returns a specification to start this module under a supervisor.
See Supervisor.
Link to this function
get_alias_calls() View Source
Link to this function
get_group_calls() View Source
Link to this function
get_identify_calls() View Source
Link to this function
get_page_calls() View Source
Link to this function
get_screen_calls() View Source
Link to this function
get_track_calls() View Source
Link to this function
group(g) View Source
Link to this function
group(user_id, group_id, traits \\ %{}, context \\ Context.new()) View Source
Link to this function
identify(i) View Source
Link to this function
identify(user_id, traits \\ %{}, context \\ Context.new()) View Source
Link to this function
page(p) View Source
Link to this function
page(user_id, name \\ "", properties \\ %{}, context \\ Context.new()) View Source
Link to this function
screen(s) View Source
Link to this function
screen(user_id, name \\ "", properties \\ %{}, context \\ Context.new()) View Source
Link to this function
start_link(args) View Source
Link to this function
track(t) View Source
Link to this function