summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE/EFA/Departure.pm
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-09-26 18:18:34 +0200
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-09-26 18:18:34 +0200
commitb53be55b626603add954c903812df5360f7f22f0 (patch)
treee74c4c463d4f6c3c8a8846e345ad689fad6ce764 /lib/Travel/Status/DE/EFA/Departure.pm
parente201b13f9f00271d8d3705b9bbef4a39064ad6de (diff)
route output: store and show occupancy data, if available
Diffstat (limited to 'lib/Travel/Status/DE/EFA/Departure.pm')
-rw-r--r--lib/Travel/Status/DE/EFA/Departure.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Travel/Status/DE/EFA/Departure.pm b/lib/Travel/Status/DE/EFA/Departure.pm
index b5775a8..79fa85a 100644
--- a/lib/Travel/Status/DE/EFA/Departure.pm
+++ b/lib/Travel/Status/DE/EFA/Departure.pm
@@ -155,6 +155,7 @@ sub parse_route {
full_name => $stop->{name},
place => $stop->{place},
name => $stop->{nameWO},
+ occupancy => $stop->{occupancy},
platform => $ref->{platform} || $stop->{platformName} || undef,
)
);