customerio / customerio-ruby

A ruby client for the Customer.io event API.
https://customer.io/docs/api/
MIT License
65 stars 75 forks source link

Add support for the transactional API #61

Closed swastik closed 3 years ago

swastik commented 3 years ago

This PR adds support for the Customer.io Transactional API.

Changes

kylefox commented 3 years ago

Removed add_to_segment and remove_from_segment methods

Is there any guidance on how we're supposed to migrate our integration from these methods to their new equivalent?

The API documentation simply states the add_to_segment and remove_from_segment methods are deprecated, but offers no information on how to add customers to segments with the new API, from what I can tell.

rlisowski commented 3 years ago

@kylefox I'm looking into the same thing, and I think you achieve it by making a data-driven segment and simply sending an event https://customer.io/docs/segments