From f0b6814200411e69cabdab419852dec2c11e4b04 Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Thu, 18 Jul 2024 18:37:33 +0200 Subject: HAFAS: Add get_service wrapper --- lib/Travelynx/Helper/HAFAS.pm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/Travelynx') diff --git a/lib/Travelynx/Helper/HAFAS.pm b/lib/Travelynx/Helper/HAFAS.pm index 2095fb7..1569208 100644 --- a/lib/Travelynx/Helper/HAFAS.pm +++ b/lib/Travelynx/Helper/HAFAS.pm @@ -33,6 +33,12 @@ sub new { return bless( \%opt, $class ); } +sub get_service { + my ( $self, $service ) = @_; + + return Travel::Status::DE::HAFAS::get_service($service); +} + sub get_json_p { my ( $self, $url, %opt ) = @_; -- cgit v1.2.3