0.0
No commit activity in last 3 years
No release in over 3 years
Provides the ability to send subscribers to a Campaign Master email list
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

= 2.13.0
= 2.13.1
= 2.4.0
= 2.9.0
 Project Readme

#campaignmasterb

Build Status Gem Version

Ruby interface that allows you to send subscribers to a Campaign Master list.

Currently no other Campaign Master API functions are supported, though it should be trivial to add these.

##Installation

Campaignmasterrb is available via Rubygems:

gem install campaign_master

or add it to your Gemfile:

gem 'campaign_master'

You'll also currently need to add the GitHub build of the Savon client. When the version of Savon on RubyGems has been updated we'll add this as a proper dependency.

gem 'savon', :git => 'https://github.com/savonrb/savon.git', :ref => '5acd246'

##Basic usage

require 'campaign_master'

format = "EmailAddress,First_Name,IsActive\r\n"
subscribers = "test@example.org,Derek,1\r\ntest2@example.org,Doreen,1"
delimiter = ","

client = CampaignMaster.client(username, password, client_id)
client.call(:Subscriber).import(format, delimiter, suscribers)

The format string can contain any fields supported by Campaign Master.

##License

Licensed under New BSD License