summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE/IRIS.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travel/Status/DE/IRIS.pm')
-rw-r--r--lib/Travel/Status/DE/IRIS.pm11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/Travel/Status/DE/IRIS.pm b/lib/Travel/Status/DE/IRIS.pm
index e299015..937bb65 100644
--- a/lib/Travel/Status/DE/IRIS.pm
+++ b/lib/Travel/Status/DE/IRIS.pm
@@ -574,6 +574,17 @@ station name, but a station code, such as "EE" (for Essen Hbf) or "KA"
(for Aachen Hbf). See Travel::Status::DE::IRIS::Stations(3pm) for a
name to code mapping.
+=item B<with_related> => I<bool>
+
+Sometimes, Deutsche Bahn splits up major stations in the IRIS interface. For
+instance, "KE<ouml>ln Messe/Deutz" actually consists of "KE<ouml>ln
+Messe/Deutz" (KKDZ), "KE<ouml>ln Messe/Deutz Gl. 9-10" (KKDZB) and "KE<ouml>ln
+Messe/Deutz (tief)" (KKDT).
+
+By default, Travel::Status::DE::IRIS only returns departures for the specified
+station. When this option is set to a true value, it will also return
+departures for all related stations.
+
=back
=item $status->errstr