SYNOPSIS
my $data = new Net::Akamai::RequestData(
email=>'[email protected]',
user => 'myuser',
pwd => 'mypass'
);
$data->add_url('http://www.myurl.com');
$data->add_url('http://www.myurl.com/somethingelse');
my $ap = new Net::Akamai(req_data=>$data);
my $res = $ap->purge;
if (!$res->accepted) {
die "$res";
}
elsif ($res->warning) {
warn "$res";
}
DESCRIPTION
Handles akamai purge request of multiple URLsPatches welcome for extra functionality
Attributes
soap_version
SOAP::Lite versionproxy
akamai purge proxyuri
akamai purge urisoap
SOAP::Lite objectreq_data
Net::Akamai::RequestData object to hold data associated with an akamai requestres_data
Net::Akamai::ResponseData object holds data associated with an akamai responseMethods
purge
initiate the purge requestTODO
- more tests and doc
- support to read urls from file
- better error checking and failure reporting
AUTHOR
John Goulah <[email protected]>CONTRIBUTORS
Aran Deltac <[email protected]>LICENSE
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.