ConstantContact (1.0.0) Build Status

What is it?

This gem provides a set of classes to access information on [ConstantContact][h] via the published API:

Contact, List, Activity, Campaign.

All these classes are inherited from ActiveResouce::Base. Refer to the ActiveResouce documentation for more information.


gem install constantcontact

Dependencies (see constantcontact.gemspec or run bundle check)

  • Activeresource >= 3.0.0


I'm on

Configure your key

require 'constantcontact'

ConstantContact::Base.user = 'your_username'
ConstantContact::Base.password = 'your_password'
ConstantContact::Base.api_key = 'api-auth-token'

If you are using this in a Rails application, putting this code in a config/initializers/constantcontact.rb file is recommended. See config_initializers_constantcontact.rb in the examples/ directory.


@contacts = ConstantContact::Contact.find(:all)


This code is free to be used under the terms of the MIT license.

Bugs, Issues, Kudos and Catcalls

Comments are welcome. Send your feedback through the issue tracker on GitHub

If you have fixes: Submit via pull requests. Do not include version changes to the version file.

This is inspired by and closely based on original work by Timothy Case, and contributions.