Business::MaxMind::HTTPBase - Base class for accessing free and paid MaxMind HTTP web services
This is an abstract base class for accessing free and paid MaxMind web services. Currently there is one subclass, for the Credit Card Fraud Scorer. There may be another subclass for the Location Verifier in the future.
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 the output returned by the MaxMind server as a hash reference.
Returns the error message from an input or query method call.
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.