summaryrefslogtreecommitdiff
path: root/lib/Travel/Status
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-12-03 10:53:36 +0100
committerDaniel Friesel <derf@finalrewind.org>2011-12-03 10:53:36 +0100
commitbc6380f3ef022f5ae595b54ca63d34f7832b41ea (patch)
treecda5c8a35d05f2f9fbb441494df3afce5c2bb42d /lib/Travel/Status
parent5e436d356b026e06ed29163791a04b3820cf6c05 (diff)
Result.pm: Document ->date accessor
Diffstat (limited to 'lib/Travel/Status')
-rw-r--r--lib/Travel/Status/DE/DeutscheBahn/Result.pm24
1 files changed, 14 insertions, 10 deletions
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<max>])
Returns a list of up to I<max> (default: 3) interesting stations the train