purpose-platform-queued-client

Build Status

Ruby interface for the queued API service fronting the Purpose Platform which Fight for the Future uses.

Usage

pp = PurposePlatformQueuedClient.new(host: 'your.queued.purposeplatform.org')
pp.action.create(member: {first_name: 'George', last_name: 'Washington', email: '[email protected]', postcode: '11238', country: 'US'}, tag: 'bar', org: 'foo')
pp.unsubscribe.create(email: '[email protected]')

Copyright (c) 2015 ChangeSprout, Inc. See LICENSE for further details.