summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2013-12-24 17:04:49 +0100
committerDaniel Friesel <derf@finalrewind.org>2013-12-24 17:04:49 +0100
commitd37d400761ef47cac90dfa1c87ed067e32ee6b64 (patch)
tree4ca28f320ac972b0cd25772ef6a324b8c77a1631 /lib
parent686a48d6bdfa7ccb20e536a9151ce3c146a1e236 (diff)
add get_stop_by_name to documentation
Diffstat (limited to 'lib')
-rw-r--r--lib/Travel/Status/DE/URA.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Travel/Status/DE/URA.pm b/lib/Travel/Status/DE/URA.pm
index 99c0132..dd199a6 100644
--- a/lib/Travel/Status/DE/URA.pm
+++ b/lib/Travel/Status/DE/URA.pm
@@ -301,6 +301,13 @@ the server.
In case of an HTTP request error, returns a string describing it. If none
occured, returns undef.
+=item $status->get_stop_by_name(I<$stopname>)
+
+Returns a list of stops matching I<$stopname>. For instance, if the stops
+"Aachen Bushof", "Eupen Bushof", "Brand" and "Brandweiher" exist, the
+parameter "bushof" will return "Aachen Bushof" and "Eupen Bushof", while
+"brand" will only return "Brand".
+
=item $status->results(I<%opt>)
Returns a list of Travel::Status::DE::URA::Result(3pm) objects, each describing