From e85076209ad1c1d01a135154b54403c8c00bcc88 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 31 Oct 2014 12:55:29 +0100 Subject: db-iris, Result.pm: Document additional_stops and canceled_stops --- lib/Travel/Status/DE/IRIS/Result.pm | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'lib/Travel') diff --git a/lib/Travel/Status/DE/IRIS/Result.pm b/lib/Travel/Status/DE/IRIS/Result.pm index 68c0456..a121792 100644 --- a/lib/Travel/Status/DE/IRIS/Result.pm +++ b/lib/Travel/Status/DE/IRIS/Result.pm @@ -593,11 +593,23 @@ the platform, time, route and more. =over +=item $result->additional_stops + +Returns served stops which are not part of the schedule. I.e., this is the +set of actual stops (B) minus the set of scheduled stops +(B). + =item $result->arrival DateTime(3pm) object for the arrival date and time. undef if the train starts here. Contains realtime data if available. +=item $result->canceled_stops + +Returns stops which are scheduled, but will not be served by this train. +I.e., this is the set of scheduled stops (B) minus the set of +actual stops (B). + =item $result->classes List of characters indicating the class(es) of this train, may be empty. This -- cgit v1.2.3