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

NAME

Transport::AU::PTV::Stops

VERSION

version 0.01

NAME

Transport::AU::PTV::Stop - a stop on the Victorian Public Transport Network

SYNOPSIS

    # Retrieve from a route
    $stops = Transport::AU::PTV->new({ ... })->routes->find(name => 'Upfield)->stops;

Description

Transport::AU::PTV::Stops is a collection of Transport::AU::PTV::Stop objects. It inherits all of the methods present in its parent Transport::AU::PTV::Collecton class.

Methods

new

    my $stops = Transport::AU::PTV::Stops( Transport::AU::PTV::APIRequest->new({ ... }), { route_id => 15, route_type => 0 });

AUTHOR

Greg Foletta <greg@foletta.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2018 by Greg Foletta.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.