Pure360
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: trueThese 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.
Key contributions:
###License
Licensed under New BSD License