NAME
WebService::DigitalOcean::Role::Regions - Regions role for DigitalOcean WebService
VERSION
version 0.011
METHODS
$do->region_list()
Retrieves all the regions available in Digital Ocean.
my $regions = $do->region_list();
for my $r (@{ $regions->{content}{regions} }) {
if ($r->{available}) {
say "$r->{name} is available";
}
}
More info: https://developers.digitalocean.com/#list-all-regions.
DESCRIPTION
Implements the Regions resource.
More info: https://developers.digitalocean.com/#regions.
AUTHOR
André Walker <andre@cpan.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2014 by André Walker.
This is free software, licensed under:
The GNU General Public License, Version 2, June 1991