code_corps v0.0.1 CodeCorps.Analytics.TestAPI View Source

In-memory interface to simulate calling out to the Segment API, sending back itself a message with passed parameters - they’re used for assertions.

Each function should have the same signature as CodeCorps.Analytics.SegmentAPI and simply return nil.

Link to this section Summary

Link to this section Functions

Link to this function identify(user_id, traits) View Source
Link to this function track(user_id, event_name, properties) View Source