Project

pure360

0.0
No commit activity in last 3 years
No release in over 3 years
Interact with the Pure360 email marketing platform
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.3
>= 0
>= 0
 Project Readme

Pure360

Build Status GitHub version

A wrapper for posting data to the Pure360 email marketing platform.

Installation

Add this line to your application's Gemfile:

gem 'pure360'

And then execute:

$ bundle

Or install it yourself as:

$ gem install pure360

Usage

Instantiate a new Pure360 object.

params = {
  endpoint: 'https://custom-pure360-url/interface/list.php',
  account:  'YourAccount',
  list:     'Your-list-name' }

p360 = Pure360::Client.new(params)

Some optional parameters can be passed in:

  full_email_validation: true
  double_optin:          true

These will default to false if not specified.

Once the object has been instantiated, you can use the subscribe method.

You can specify as many parameters as you need in the form of a hash as the argument to the subscribe method. The 'email' hash entry however is required.

p360.subscribe({ email: "test@test.com" })

###Credits

Developed and maintained by Made.

made

Key contributions:

###License

Licensed under New BSD License