diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-11-29 15:06:59 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-11-29 15:06:59 +0100 |
commit | 9aa1eab9c3fca4713ae67acab23d9b65e96ace9b (patch) | |
tree | a621c1d470306684085e14fe34a97e3007101eb5 /lib/Travel/Routing/DE/VRR/Route.pm | |
parent | 7e8258ae6c0cb53cdde02cf48f506eb9f7a29660 (diff) |
documentation
Diffstat (limited to 'lib/Travel/Routing/DE/VRR/Route.pm')
-rw-r--r-- | lib/Travel/Routing/DE/VRR/Route.pm | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/lib/Travel/Routing/DE/VRR/Route.pm b/lib/Travel/Routing/DE/VRR/Route.pm index d2c85e7..04228a2 100644 --- a/lib/Travel/Routing/DE/VRR/Route.pm +++ b/lib/Travel/Routing/DE/VRR/Route.pm @@ -65,17 +65,34 @@ You usually want to acces it via C<< $efa->routes >>. =head1 METHODS +=head2 ACCESSORS + =over -=item my $route = Travel::Routing::DE::VRR::Route->new(I<@parts>) +=item $route->duration -Creates a new Travel::Routing::DE::VRR::Route elements consisting of I<parts>, -which are Travel::Routing::DE::VRR::Route::Part elements. +route duration as string in HH:MM format =item $route->parts Returns a list of Travel::Routing::DE::VRR::Route::Part(3pm) elements describing -the actual route. +the actual route + +=item $route->ticket_type + +Type of the required ticket for this route, if available (empty string otherwise) + +=item $route->fare_adult + +ticket price for an adult in EUR + +=item $route->fare_child + +ticket price for a child in EUR + +=item $route->vehicle_time + +on-vehicle time (excluding waiting time) of the route in minutes =back |