HAFAS: Add get_service wrapper
This commit is contained in:
parent
07ab3f4e9b
commit
f0b6814200
1 changed files with 6 additions and 0 deletions
|
@ -33,6 +33,12 @@ sub new {
|
||||||
return bless( \%opt, $class );
|
return bless( \%opt, $class );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sub get_service {
|
||||||
|
my ( $self, $service ) = @_;
|
||||||
|
|
||||||
|
return Travel::Status::DE::HAFAS::get_service($service);
|
||||||
|
}
|
||||||
|
|
||||||
sub get_json_p {
|
sub get_json_p {
|
||||||
my ( $self, $url, %opt ) = @_;
|
my ( $self, $url, %opt ) = @_;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue