segment v2.0.0-rc.1 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
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
child_spec(arg) View Source
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
get_alias() View Source
Link to this function
get_group() View Source
Link to this function
get_identify() View Source
Link to this function
get_page() View Source
Link to this function
get_screen() View Source
Link to this function
get_track() 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