PrePAN

Sign in to PrePAN

WebService::CDNetworks::Purge A client for the CDNetworks's Cache Flush Open API v2.4.0

Author
jpducassou@github
Date
URL
Status
In Review
Good

Synopsis

use WebService::CDNetworks::Purge;

my $service = Net::CDNetworks::Purge -> new({
  'username' => 'xxxx',
  'password'  => 'xxxx',
});

my $PADlist = $service -> list();

my $result1 = $service -> purgeItem('padX', ['/a', '/b'], 'to@example.com');
my $result2 = $service -> purgeItem('padX', ['/a', '/b'], 'to@example.com');$service -> purgeAll('padY', 'to@example.com');

my $status = $service -> status($result1 -> {'pid'});


Description

I want to create a client for the CDNetworks's Cache Flush Open API v2.4.0 service. These are the namespaces that I considered: * WebService::CDNetworks::Purge (I think the most appropriate) * WWW::CDNetworks::Purge * NET::CDNetworks::Purge

Comments

Please sign up to post a review.