diff --git a/lib/Travel/Status/DE/HAFAS/Journey.pm b/lib/Travel/Status/DE/HAFAS/Journey.pm index a093f98cc315dcabc2981bb072a59b36d48e5a68..10c80fa524a75f7b2e55e7457a938c7ddb7c7246 100644 --- a/lib/Travel/Status/DE/HAFAS/Journey.pm +++ b/lib/Travel/Status/DE/HAFAS/Journey.pm @@ -530,6 +530,14 @@ service notices (e.g. "missing carriage") or detailed delay reasons Returns the operator responsible for this journey. Returns undef if the backend does not provide an operator. +=item $journey->station (station only) + +Name of the station at which this journey was requested. + +=item $journey->station_uic (station only) + +UIC/EVA ID of the station at which this journey was requested. + =item $journey->route Returns a list of hashes; each hash describes a single journey stop. @@ -577,6 +585,12 @@ entire route. Each hash contains the following keys: Individual entries may be undef. +=item $journey->route_interesting([I]) + +Return up to I (default: B<3>) parts of C<< $journey->route >> that may +be particularly helpful, e.g. main stations or airports. +Returns a list of hashes, see above for the layout. + =item $journey->route_end Name of the last route station. In arrival mode, this is where the train