Business::MaxMind::HTTPBase - Base class for accessing HTTP web services
This is an abstract base class for accessing MaxMind web services. Currently there are three subclasses, for Credit Card Fraud Detection, Telephone Verification and Location Verification. This class can be used for other HTTP based web services as well.
Class method that returns a new object that is a subclass of Business::MaxMind::HTTPBase. Will die if you attempt to call this for the Business::MaxMind::HTTPBase class, instead you should call it on one of its subclasses.
Sets input fields. See subclass for details on fields that should be set. Returns 1 on success, 0 on failure.
Sends out query to MaxMind server and waits for response. If the primary server fails to respond, it sends out a request to the secondary server. Returns 1 on success, 0 on failure.
Returns the output returned by the MaxMind server as a hash reference.
TJ Mather, <email@example.com>
Copyright 2004 by MaxMind LLC
All rights reserved. This package is free software and is licensed under the GPL. For details, see the COPYING file.