Module: Leadspend

Defined in:
lib/leadspend.rb,
lib/leadspend/parser.rb,
lib/leadspend/exceptions.rb,
lib/leadspend/parser/json_parser.rb,
lib/leadspend/parser/yajl_parser.rb,
lib/leadspend/parser/rails_parser.rb

Overview

Leadspend Exceptions.

The status code from the Leadspend server determines which exception is raised by the client.

Defined Under Namespace

Modules: Exceptions, Parser Classes: Client, Result

Constant Summary collapse

VERSION =
'1.0.3'
DEFAULT_SERVERS =
%w{primary.api.leadspend.com secondary.api.leadspend.com}
DEFAULT_VERSION =
"v2"
MIN_TIMEOUT =
3
MAX_TIMEOUT =
15
RESULT_STATUSES =
['unknown','verified','disposable', 'unreachable', 'undeliverable', 'illegitimate']