Cheetah Mail is a mailing campaign manager by Experian.
This very simple gem was built to do two things:
- Check if customers exist on a list (table)
- Subscribe customers to a list (table)
The library implements their attempt at OAuth(!) and uses Redis to cache the access_token.
To use the gem you must configure it like:
Cheetahmails.configure do |config|
config.username = ENV['USERNAME']
config.password = ENV['PASSWORD']
end
To run the tests, create a .env file in the root of the project like:
USERNAME=<YOUR_API_USERNAME>
PASSWORD=<YOUR_API_PASSWORD>
VIEW_ID=<YOUR_VIEW_ID>
You can run the specs on save with
guard
or run them manually with
bundle exec rspec