From c808d938c78ef8dea89bee8fee3632497fd5e170 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Fri, 4 Oct 2024 08:49:01 +0200 Subject: EFA, Trip: Add stop_id accessor --- lib/Travel/Status/DE/EFA.pm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/Travel/Status/DE/EFA.pm') diff --git a/lib/Travel/Status/DE/EFA.pm b/lib/Travel/Status/DE/EFA.pm index ada3b86..2fdaefc 100644 --- a/lib/Travel/Status/DE/EFA.pm +++ b/lib/Travel/Status/DE/EFA.pm @@ -394,6 +394,12 @@ sub stop_name { return $self->{response}{dm}{points}{point}{name}; } +sub stop_id { + my ($self) = @_; + + return $self->{response}{dm}{points}{point}{stateless}; +} + sub stops { my ($self) = @_; -- cgit v1.2.3