diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2023-11-19 12:49:41 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2023-11-19 12:49:41 +0100 |
commit | 1c82ee17d2fa06a79fe3b96883d603408b4fe74a (patch) | |
tree | 3eb7216bc56cfd2ae52b89969325ea0e3358a795 /lib/Travel/Routing/DE/HAFAS.pm | |
parent | cfb45724bbc0cfcd2847dc0847d434bdcef0f2e2 (diff) |
Replace built-in Location package with Travel::Status::DE::HAFAS::Location
Diffstat (limited to 'lib/Travel/Routing/DE/HAFAS.pm')
-rw-r--r-- | lib/Travel/Routing/DE/HAFAS.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Travel/Routing/DE/HAFAS.pm b/lib/Travel/Routing/DE/HAFAS.pm index 32eb6f0..4890c3c 100644 --- a/lib/Travel/Routing/DE/HAFAS.pm +++ b/lib/Travel/Routing/DE/HAFAS.pm @@ -15,7 +15,7 @@ use Encode qw(decode encode); use JSON; use LWP::UserAgent; use Travel::Routing::DE::HAFAS::Connection; -use Travel::Routing::DE::HAFAS::Location; +use Travel::Status::DE::HAFAS::Location; use Travel::Status::DE::HAFAS::Message; our $VERSION = '0.01'; @@ -517,7 +517,7 @@ sub check_mgate { sub parse_trips { my ($self) = @_; - my @locL = map { Travel::Routing::DE::HAFAS::Location->new( loc => $_ ) } + my @locL = map { Travel::Status::DE::HAFAS::Location->new( loc => $_ ) } @{ $self->{raw_json}{svcResL}[0]{res}{common}{locL} // [] }; my @conL = @{ $self->{raw_json}{svcResL}[0]{res}{outConL} // [] }; |