summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE/VRR
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-09-11 13:17:12 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-09-11 13:17:12 +0200
commit43f83fc7df3a563521af01dd1251ddd8e8d21d3a (patch)
tree7838ef7fdf5f682d2fc8e75f0134d0da649a6dc9 /lib/Travel/Status/DE/VRR
parentcddc688b8152407f53916268a41304c01d137e87 (diff)
Add initial support for additional departure information
Diffstat (limited to 'lib/Travel/Status/DE/VRR')
-rw-r--r--lib/Travel/Status/DE/VRR/Result.pm8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/VRR/Result.pm b/lib/Travel/Status/DE/VRR/Result.pm
index 083e225..c5b74ff 100644
--- a/lib/Travel/Status/DE/VRR/Result.pm
+++ b/lib/Travel/Status/DE/VRR/Result.pm
@@ -9,7 +9,7 @@ use parent 'Class::Accessor';
our $VERSION = '0.00';
Travel::Status::DE::VRR::Result->mk_ro_accessors(
- qw(destination time platform line));
+ qw(destination time platform line info));
sub new {
my ( $obj, %conf ) = @_;
@@ -57,6 +57,12 @@ line number and destination.
The tram/bus/train destination.
+=item $departure->info
+
+Additional information related to the departure (string). If departures for
+an address were requested, this is the stop name, otherwise it may be recent
+news related to the line's schedule.
+
=item $departure->line
The name/number of the line.