diff options
author | Daniel Friesel <derf@finalrewind.org> | 2013-12-11 19:10:36 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2013-12-11 19:10:36 +0100 |
commit | fa8d894aff28c5c83d7f17ca496723badc9b6bac (patch) | |
tree | 30acb33e302078d0dac61191f67e1e0998581a4b /lib/Travel/Status/DE/ASEAG | |
parent | b8c4107c0096a8d6db88cfe69dcc2c9f1530e07f (diff) |
add stop, stop_id fields to ::Result
Diffstat (limited to 'lib/Travel/Status/DE/ASEAG')
-rw-r--r-- | lib/Travel/Status/DE/ASEAG/Result.pm | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/ASEAG/Result.pm b/lib/Travel/Status/DE/ASEAG/Result.pm index 47d9d0c..6e09692 100644 --- a/lib/Travel/Status/DE/ASEAG/Result.pm +++ b/lib/Travel/Status/DE/ASEAG/Result.pm @@ -10,7 +10,7 @@ our $VERSION = '0.00'; Travel::Status::DE::ASEAG::Result->mk_ro_accessors( qw(countdown countdown_sec date datetime destination line line_id - route_timetable time) + route_timetable stop stop_id time) ); sub new { @@ -92,6 +92,19 @@ The name of the line. The number of the line. +=item $departure->route_timetable + +Returns an arrayref of arrayrefs describing the entire route as departure, +stop objects. + +=item $departure->stop + +The stop belonging to this departure. + +=item $departure->stop_id + +The stop ID belonging to this departure. + =item $departure->time Departure time (HH:MM:SS). |