Socket
Book a DemoInstallSign in
Socket

campaigning

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

campaigning

0.15.0
bundlerRubygems
Version published
Maintainers
1
Created
Source

= Campaigning

This is a Ruby wrapper around CampaignMonitor API(www.campaignmonitor.com/api) using SOAP.

== Pre-requisites An account with Campaign Monitor and the API Key (www.campaignmonitor.com).

== Resources

=== Dependencies

This gem requires the following gems:

Soap4r (1.5.8)

Jeweler (http://technicalpickles.com/posts/craft-the-perfect-gem-with-jeweler)

=== Installing

sudo gem install gnumarcelo-campaigning -s http://gems.github.com

=== Configuring your API key require 'campaigning' CAMPAIGN_MONITOR_API_KEY = 'put_here_your_api_key'

== Usage

This gem provides a set of classes to access all available information on Campaign Monitor.

These are the list of classes:

Campaigning, Campaigning::Client, Campaigning::Campaign, Campaigning::List and Campaigning::Subscriber

The examples below assumes you have set CAMPAIGN_MONITOR_API_KEY constant with your Campaign monitor API.

Sample use of the Client class:

#Here is how to get a list of all clients... clients = Campaigning::Client.get_all_clients

#Here is how to create a brand new subscriber list for an Client client = Campaigning::Client.find_by_name("Client One Company") list = Campaigning::List.create!( :clientID => client.clientID, :title => "List of people from Brazil", :confirmOptIn => false )

For further examples please check at the sample directory.

== What if I found a BUG?

If you found a bug in the Campaigning wrapper, it's easy to report it on the like below:
http://github.com/gnumarcelo/campaigning/issues

== Copyright

Copyright (c) 2009 Marcelo Menezes. See LICENSE for details.

FAQs

Package last updated on 09 Feb 2010

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.