summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE/IRIS
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-07-14 21:30:53 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-07-14 21:30:53 +0200
commit940a5d0921c3f767254222c3da05a7cdad0b9ce7 (patch)
tree8c18f3629f0fbc303c063015b4aa618454c06fe6 /lib/Travel/Status/DE/IRIS
parent92885f3516482b023966ab9afca022feb3919d1b (diff)
Result: Document ->station accessor, add ->station_uic
Both are useful to determine which sub-station a departure belongs to when using with_related => 1.
Diffstat (limited to 'lib/Travel/Status/DE/IRIS')
-rw-r--r--lib/Travel/Status/DE/IRIS/Result.pm14
1 files changed, 12 insertions, 2 deletions
diff --git a/lib/Travel/Status/DE/IRIS/Result.pm b/lib/Travel/Status/DE/IRIS/Result.pm
index 31c37c4..2b3b993 100644
--- a/lib/Travel/Status/DE/IRIS/Result.pm
+++ b/lib/Travel/Status/DE/IRIS/Result.pm
@@ -111,11 +111,13 @@ Travel::Status::DE::IRIS::Result->mk_ro_accessors(
qw(arrival arrival_delay arrival_is_additional arrival_is_cancelled
date datetime delay
departure departure_delay departure_is_additional departure_is_cancelled
- is_transfer is_unscheduled is_wing
+ ds100 is_transfer is_unscheduled is_wing
line_no old_train_id old_train_no platform raw_id
realtime_xml route_start route_end
sched_arrival sched_departure sched_platform sched_route_start
- sched_route_end start stop_no time train_id train_no transfer type
+ sched_route_end start
+ station station_uic
+ stop_no time train_id train_no transfer type
unknown_t unknown_o wing_id)
);
@@ -1129,6 +1131,14 @@ Name of the first station served by this train according to its schedule.
DateTime(3pm) object for the scheduled start of the train on its route
(i.e. the departure time at its first station).
+=item $result->station
+
+Name of the station this train result belongs to.
+
+=item $result->station_uic
+
+UIC number of the station this train result belongs to.
+
=item $result->stop_no
Number of this stop on the train's route. 1 if it's the start station, 2