HAFAS: Add get_service wrapper

This commit is contained in:
Birte Kristina Friesel 2024-07-18 18:37:33 +02:00
parent 07ab3f4e9b
commit f0b6814200
No known key found for this signature in database
GPG key ID: B63118F7196EA660

View file

@ -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 ) = @_;