Project

leadspend

0.0
No commit activity in last 3 years
No release in over 3 years
Leadspend client access library.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 3.0
~> 3.10
 Project Readme

leadspend

Ruby library for communicating with the Leadspend service

Use like so:

  client = Leadspend::Client.new(:username => LEADSPEND_USERNAME, :password => LEADSPEND_PASSWORD, 
      :ca_file => CA_FILE, :timeout => 5)
  is_valid_email = client.validate(params[:email]) # true if verified or unknown, false otherwise

If you want more information about the response, use something like

  leadspend_result = client.fetch_result(params[:email])

This will return a Leadspend::Result object representing the JSON response, with convenience methods like unreachable? and illegitimate?.

Written by Justin Dossey for PodOmatic, www.podomatic.com, jbd@podomatic.com.

Project homepage: http://www.github.com/justindossey/leadspend