From bc6380f3ef022f5ae595b54ca63d34f7832b41ea Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 3 Dec 2011 10:53:36 +0100 Subject: Result.pm: Document ->date accessor --- lib/Travel/Status/DE/DeutscheBahn/Result.pm | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) (limited to 'lib/Travel/Status/DE') diff --git a/lib/Travel/Status/DE/DeutscheBahn/Result.pm b/lib/Travel/Status/DE/DeutscheBahn/Result.pm index 87cd84b..53585cf 100644 --- a/lib/Travel/Status/DE/DeutscheBahn/Result.pm +++ b/lib/Travel/Status/DE/DeutscheBahn/Result.pm @@ -176,17 +176,9 @@ the platform, time, route and more. =over -=item $result->route_end - -Returns the last element of the route. Depending on how you set up -Travel::Status::DE::DeutscheBahn (arrival or departure listing), this is -either the train's destination or its origin station. +=item $result->date -=item $result->destination - -=item $result->origin - -Convenience aliases for $result->route_end. +Arrival/Departure date in "dd.mm.yyyy" format. =item $result->delay @@ -214,6 +206,18 @@ arrive. Returns a list of station names the train will pass between the selected station and its origin/destination. +=item $result->route_end + +Returns the last element of the route. Depending on how you set up +Travel::Status::DE::DeutscheBahn (arrival or departure listing), this is +either the train's destination or its origin station. + +=item $result->destination + +=item $result->origin + +Convenience aliases for $result->route_end. + =item $result->route_interesting([I]) Returns a list of up to I (default: 3) interesting stations the train -- cgit v1.2.3