summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-07-04 22:01:27 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-07-04 22:01:27 +0200
commitb4bc729a9e1d89f6461b1457f4016c491ec14969 (patch)
tree4f96d564d98ba7ad35a41270c6296d88ba5f4502
parent6e19d377b1eace2e915a34ceea505c26fe443c72 (diff)
parent1b53d5886e75ee2d3799297eb9317a41280a6623 (diff)
Merge branch 'moschlar-mainzermobilitaet'
-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.pm4
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..373d6ae 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 MobilitE<auml>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
+MobilitE<auml>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',