and 1 contributors
NAME
Net::FreshBooks::API::Iterator
VERSION
version 0.16
new
my $iterator = $class->new(
{ parent_object => $parent_object,
args => {...},
}
);
Create a new iterator object. As part of creating the iterator a request is sent to FreshBooks.
next
my $next_result = $iterator->next( );
Returns the next item in the iterator.
total
Returns the total number of results available, regardless of how many items are on the current page.
pages
Returns the total number of result pages
current_index
The item we are currently on
AUTHORS
Edmund von der Burg <evdb@ecclestoad.co.uk>
Olaf Alders <olaf@wundercounter.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2010 by Edmund von der Burg & Olaf Alders.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.