The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Business::MaxMind::TelephoneVerification - Access MaxMind's Telephone Verification service

ABSTRACT

This module queries the Telephone Verification service and calls the customer

new

Class method that returns a Business::MaxMind::TelephoneVerification object. If isSecure is set to 1, it will use a secure connection. If debug is set to 1, will print debugging output to standard error. timeout parameter is used to set timeout in seconds, if absent default value for timeout is 10 seconds.

input

Sets input fields. The input fields are

  • l: license key
  • phone: phone number
  • verify_code: code to used to verify

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. The output fields are

  • refid: Reference ID
  • randCode: code to used to verify, randomly generated by MaxMind only if not passed as verify_code input parameter
  • err: Error String

SEE ALSO

http://www.maxmind.com/app/telephone_overview

AUTHOR

Frank Mather, <frank@maxmind.com>

COPYRIGHT AND LICENSE

Copyright 2005 by MaxMind LLC

All rights reserved. This package is free software and is licensed under the GPL. For details, see the COPYING file.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 31:

'=item' outside of any '=over'