NAME

Transport::AU::PTV::Stops - a collection of stops on the Victorian Public Transport Network.

VERSION

version 0.03

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.