From 26d8ae1c395c5eb2f650503a2e3a97d182df0f60 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 28 Mar 2021 11:31:36 +0200 Subject: efa-m, EFA: Accept "stopID" stop type --- lib/Travel/Status/DE/EFA.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/Travel') diff --git a/lib/Travel/Status/DE/EFA.pm b/lib/Travel/Status/DE/EFA.pm index 25d3e15..e1c8edf 100644 --- a/lib/Travel/Status/DE/EFA.pm +++ b/lib/Travel/Status/DE/EFA.pm @@ -34,8 +34,8 @@ sub new { if ( not( $opt{name} ) ) { confess('You must specify a name'); } - if ( $opt{type} and not( $opt{type} ~~ [qw[stop address poi]] ) ) { - confess('type must be stop, address or poi'); + if ( $opt{type} and not( $opt{type} ~~ [qw[stop stopID address poi]] ) ) { + confess('type must be stop, stopID, address, or poi'); } if ( not $opt{efa_url} ) { @@ -706,7 +706,7 @@ Ederf+efa@finalrewind.orgE. Name of the place/city -=item B => B
|B|B +=item B => B
|B|B|B Type of the following I. B means "point of interest". Defaults to B (stop/station name). -- cgit v1.2.3