diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-07-18 18:37:33 +0200 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-07-18 18:37:33 +0200 |
commit | f0b6814200411e69cabdab419852dec2c11e4b04 (patch) | |
tree | 51f9d711e45177f6d5f6444986640565eca953ca /lib | |
parent | 07ab3f4e9b010a241e9e6091c2b5478e19f752d9 (diff) |
HAFAS: Add get_service wrapper
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Travelynx/Helper/HAFAS.pm | 6 |
1 files changed, 6 insertions, 0 deletions
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 ) = @_; |