| 1 | package WWW::EFA::Route; | ||
| 2 | 2 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 2 | with 'WWW::EFA::Roles::Printable'; # provides to_string | |
| 4 | |||
| 5 | =head1 NAME | ||
| 6 | |||
| 7 | WWW::EFA::Route - A Route | ||
| 8 | |||
| 9 | =head1 VERSION | ||
| 10 | |||
| 11 | Version 0.01 | ||
| 12 | |||
| 13 | =cut | ||
| 14 | |||
| 15 | 2 | our $VERSION = '0.01'; | |
| 16 | |||
| 17 | |||
| 18 | =head1 SYNOPSIS | ||
| 19 | |||
| 20 | TODO: RCL 2011-11-10 | ||
| 21 | |||
| 22 | =head1 ATTRIBUTES | ||
| 23 | |||
| 24 | =cut | ||
| 25 | # TODO: RCL 2011-11-06 Document attributes | ||
| 26 | |||
| 27 | 2 | has 'changes' => ( is => 'ro', isa => 'Int', ); | |
| 28 | 2 | has 'vehicle_time' => ( is => 'ro', isa => 'Int', ); | |
| 29 | 2 | has 'partial_routes' => ( is => 'rw', isa => 'ArrayRef[WWW::EFA::PartialRoute]' ); | |
| 30 | 2 | has 'departure_time' => ( is => 'rw', isa => 'Class::Date' ); | |
| 31 | 2 | has 'arrival_time' => ( is => 'rw', isa => 'Class::Date' ); | |
| 32 | |||
| 33 | 2 | 1; | |
| 34 | |||
| 35 | |||
| 36 | =head1 COPYRIGHT | ||
| 37 | |||
| 38 | Copyright 2011, Robin Clarke, Munich, Germany | ||
| 39 | |||
| 40 | =head1 AUTHOR | ||
| 41 | |||
| 42 | Robin Clarke <perl@robinclarke.net> | ||
| 43 | |||