NAME

WebService::TeamCity::Iterator - Generic object iterator for paged results from the TeamCity REST API

VERSION

version 0.04

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.

SUPPORT

Bugs may be submitted through https://github.com/maxmind/WebService-TeamCity/issues.

AUTHOR

Dave Rolsky <autarch@urth.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2018 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.