diff options
author | Moritz Schlarb <schlarbm@uni-mainz.de> | 2019-06-19 15:33:14 +0200 |
---|---|---|
committer | Moritz Schlarb <schlarbm@uni-mainz.de> | 2019-06-19 15:33:21 +0200 |
commit | 5256d974ce44e794aae80ccda8a598daee687086 (patch) | |
tree | 02a3aa2dd6ac7740aefa18834664af302315c183 /lib/Travel | |
parent | ec9aa7ffe02372beed722f3508313d9977de8766 (diff) |
Rename MvgMainz to MM (Mainzer Mobilität)
They renamed themselves some time ago.
The URL remained the same though...
Diffstat (limited to 'lib/Travel')
-rw-r--r-- | lib/Travel/Status/DE/MM.pm (renamed from lib/Travel/Status/DE/MvgMainz.pm) | 20 | ||||
-rw-r--r-- | lib/Travel/Status/DE/URA.pm | 4 |
2 files changed, 12 insertions, 12 deletions
diff --git a/lib/Travel/Status/DE/MvgMainz.pm b/lib/Travel/Status/DE/MM.pm index f0ff28c..dcdcae4 100644 --- a/lib/Travel/Status/DE/MvgMainz.pm +++ b/lib/Travel/Status/DE/MM.pm @@ -1,4 +1,4 @@ -package Travel::Status::DE::MvgMainz; +package Travel::Status::DE::MM; use strict; use warnings; @@ -25,13 +25,13 @@ __END__ =head1 NAME -Travel::Status::DE::MvgMainz - unofficial MVG departure monitor. +Travel::Status::DE::MM - unofficial Mainzer Mobilität departure monitor. =head1 SYNOPSIS - use Travel::Status::DE::MvgMainz; + use Travel::Status::DE::MM; - my $status = Travel::Status::DE::MvgMainz->new( + my $status = Travel::Status::DE::MM->new( stop => 'Hauptbahnhof West' ); @@ -48,17 +48,17 @@ version 2.01 =head1 DESCRIPTION -Travel::Status::DE::MvgMainz is an unofficial interface to the MVG Mainz realtime -departure monitor. +Travel::Status::DE::MM is an unofficial interface to the Mainzer +Mobilität realtime departure monitor. =head1 METHODS =over -=item my $status = Travel::Status::DE::MvgMainz->new(I<%opt>) +=item my $status = Travel::Status::DE::MM->new(I<%opt>) Requests the departures as specified by I<opts> and returns a new -Travel::Status::DE::MvgMainz object. +Travel::Status::DE::MM object. Calls Travel::Status::DE::URA->new with the appropriate B<ura_base> and B<ura_version> parameters. All I<opts> are passed on. @@ -85,11 +85,11 @@ Many. =head1 SEE ALSO -MvgMainz-m(1), Travel::Status::DE::URA(3pm). +MM-m(1), Travel::Status::DE::URA(3pm). =head1 AUTHOR -Copyright (C) 2016 by Moritz Schlarb E<lt>moschlar@metalabs.deE<gt> +Copyright (C) 2016, 2019 by Moritz Schlarb E<lt>moschlar@metalabs.deE<gt> =head1 LICENSE diff --git a/lib/Travel/Status/DE/URA.pm b/lib/Travel/Status/DE/URA.pm index 4654b45..35b77bd 100644 --- a/lib/Travel/Status/DE/URA.pm +++ b/lib/Travel/Status/DE/URA.pm @@ -385,8 +385,8 @@ sub get_services { { ura_base => 'http://ura.itcs.mvg-mainz.de/interfaces/ura', ura_version => 1, - name => 'MVG Mainz', - shortname => 'MvgMainz', + name => 'Mainzer Mobilität', + shortname => 'MM', }, { ura_base => 'http://countdown.api.tfl.gov.uk/interfaces/ura', |