From 6c733a1bcc425fc4600127414103fde217b8ae87 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 17 Dec 2013 18:43:50 +0100 Subject: support lines without operator field --- lib/Travel/Status/DE/VRR/Line.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/Travel/Status/DE/VRR') diff --git a/lib/Travel/Status/DE/VRR/Line.pm b/lib/Travel/Status/DE/VRR/Line.pm index b22c96e..62582c3 100644 --- a/lib/Travel/Status/DE/VRR/Line.pm +++ b/lib/Travel/Status/DE/VRR/Line.pm @@ -72,11 +72,12 @@ Name of the line, e.g. "U11", "SB15", "107". =item $line->operator Operator of the line, as in the local transit company responsible for it. +May be undefined. =item $line->route Partial route of the line (as string), usually start and destination with two -stops in between. +stops in between. May be undefined. Note that start means the actual start of the line, the stop requested by Travel::Status::DE::VRR::Line may not even be included in this listing. -- cgit v1.2.3