Why not adopt me?
This distribution is up for adoption!
If you're interested then please contact the PAUSE module admins via
email.
NAME
WebService::TeamCity::Iterator - Generic object iterator for paged results from the TeamCity REST API
VERSION
version 0.03
SYNOPSIS
my $builds = $client->builds;
while ( my $build = $builds->next ) { ... }
API
This class offers one public method:
$iterator->next
This returns the next object from the result set. If necessary, it will fetch the next page of results from the server. It returns undef
when there are no more objects to fetch.
AUTHOR
Dave Rolsky <autarch@urth.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2016 by MaxMind, Inc..
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.