lib/mixpanel/person.rb in mixpanel-3.5.2 vs lib/mixpanel/person.rb in mixpanel-3.6.2

- old
+ new

@@ -39,15 +39,23 @@ def append_register(properties={}) append 'register', properties_hash(properties, PERSON_PROPERTIES) end + def append_register_once(properties={}) + append 'register_once', properties_hash(properties, PERSON_PROPERTIES) + end + def append_identify(distinct_id) append 'identify', distinct_id end def append_people_identify(distinct_id) append 'people.identify', distinct_id + end + + def delete(distinct_id) + engage 'delete', distinct_id, {}, {} end protected def engage(action, request_properties_or_distinct_id, properties, options)