The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Business::Fixflo::Paginator

DESCRIPTION

A class for pagination through fixflo data returned as a list.

ATTRIBUTES

    client
    objects
    class
    links
        total_items
        total_pages

PAGER METHODS

    next
    previous

Return the current set of objects and then gets the next/previous page:

    my @objects = @{ $Paginator->next };

objects

Gets the current set of objects

    my @objects = @{ $Paginator->objects };

Returns a hash that has the NextURL and previousURL within

    my $urls = $Paginator->links

AUTHOR

Lee Johnson - leejo@cpan.org

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. If you would like to contribute documentation, features, bug fixes, or anything else then please raise an issue / pull request:

    https://github.com/Humanstate/business-fixflo