summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE/EFA.pm
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-09-22 17:13:43 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-09-22 17:13:43 +0200
commit8eb5ae8c9067f5a247789b61795a257341164fc0 (patch)
tree0b2d663c818ed48b3d56de2eb0153653c8256ace /lib/Travel/Status/DE/EFA.pm
parent38f3d2bcae2dd5ec6f7c09e3ed86868fb0c384ed (diff)
parse and expose stop IDs
Diffstat (limited to 'lib/Travel/Status/DE/EFA.pm')
-rw-r--r--lib/Travel/Status/DE/EFA.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Travel/Status/DE/EFA.pm b/lib/Travel/Status/DE/EFA.pm
index 122fcc7..a797d99 100644
--- a/lib/Travel/Status/DE/EFA.pm
+++ b/lib/Travel/Status/DE/EFA.pm
@@ -367,6 +367,7 @@ sub stops {
place => $stop->{place},
name => $stop->{name},
full_name => $stop->{nameWithPlace},
+ id => $stop->{stopID},
)
);
}
@@ -450,6 +451,7 @@ sub parse_route {
Travel::Status::DE::EFA::Stop->new(
arr => $arr,
dep => $dep,
+ id => $stop->{ref}{id},
full_name => $stop->{name},
place => $stop->{place},
name => $stop->{nameWO},