summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE/EFA.pm
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-09-22 15:08:23 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-09-22 15:08:23 +0200
commit3dd1b3a53d48c5b1c76418fe37823ea97e58ccde (patch)
treef22f2b21ec93f95093908bae5cf3621bc9a083e8 /lib/Travel/Status/DE/EFA.pm
parent1496b2a00bcbf0c2875a2b88b95ee39524cece6e (diff)
Stop: Use place / name / full_name rather than just name_suf and name
Diffstat (limited to 'lib/Travel/Status/DE/EFA.pm')
-rw-r--r--lib/Travel/Status/DE/EFA.pm11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/Travel/Status/DE/EFA.pm b/lib/Travel/Status/DE/EFA.pm
index e95bbcd..ab029df 100644
--- a/lib/Travel/Status/DE/EFA.pm
+++ b/lib/Travel/Status/DE/EFA.pm
@@ -419,11 +419,12 @@ sub parse_route {
push(
@ret,
Travel::Status::DE::EFA::Stop->new(
- arr => $arr,
- dep => $dep,
- name => $stop->{name},
- name_suf => $stop->{nameWO},
- platform => $ref->{platform} || $stop->{platformName} || undef,
+ arr => $arr,
+ dep => $dep,
+ full_name => $stop->{name},
+ place => $stop->{place},
+ name => $stop->{nameWO},
+ platform => $ref->{platform} || $stop->{platformName} || undef,
)
);
}