This gem aims to be a full-fledged solution for the ecircle API, the synchronous one and the asynchronous one.

This is WIP and far from complete.

Features

So far just a couple of methods:

  • create_member
  • create_or_update_user_by_email
  • delete_member
  • logon
  • send_parametrized_single_message_to_user

To do

  • Rethink current structure e.g.
    • doing an explicit logon in every method is ugly at best
    • inefficient handling of session token (we could and should reuse it instead of requesting a new one every time)
  • Implement missing API methods
  • Specs
  • RDoc

Configuration

Ecircle.configure do |config|
  config.user     = '[email protected]'
  config.realm    = 'http://your.realm.com'
  config.password = 'your_password'
end

Usage

Ecircle.create_or_update_user_by_email '[email protected]'