NAME
Business::MaxMind::HTTPBase - Base class for accessing free and paid MaxMind HTTP web services
ABSTRACT
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.
METHODS
- new
-
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.
- input
-
Sets input fields. See subclass for details on fields that should be set. Returns 1 on success, 0 on failure.
- query
-
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.
- output
-
Returns the output returned by the MaxMind server as a hash reference.
- error_msg
-
Returns the error message from an input or query method call.
SEE ALSO
Business::MaxMind::CreditCardFraudDetection
http://www.maxmind.com/app/ccv_overview
AUTHOR
TJ Mather, <tjmather@maxmind.com>
COPYRIGHT AND LICENSE
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.