summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-08-04 19:14:43 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-08-04 19:14:43 +0200
commit7e7b087a779daf695dad86b90ce7c91dbae6f2ff (patch)
tree37d8e050982bf7b53c0447bb416340cbc629a1ef /lib/Travel/Status/DE
parent87125468d3089f6288f8d9f8033c84d94c76df98 (diff)
Line/Result: document mot and mot_name accessors
Diffstat (limited to 'lib/Travel/Status/DE')
-rw-r--r--lib/Travel/Status/DE/EFA/Line.pm10
-rw-r--r--lib/Travel/Status/DE/EFA/Result.pm10
2 files changed, 20 insertions, 0 deletions
diff --git a/lib/Travel/Status/DE/EFA/Line.pm b/lib/Travel/Status/DE/EFA/Line.pm
index 0f5f090..6ebe477 100644
--- a/lib/Travel/Status/DE/EFA/Line.pm
+++ b/lib/Travel/Status/DE/EFA/Line.pm
@@ -76,6 +76,16 @@ per actual line.
Direction of the line. Name of either the destination stop or one on the way.
+=item $line->mot
+
+Returns the "mode of transport" number for this line. This is usually an
+integer between 0 and 11.
+
+=item $line->mot_name
+
+Returns the "mode of transport" for this line, for instance "zug", "s-bahn",
+"tram" or "sonstige".
+
=item $line->name
Name of the line, e.g. "U11", "SB15", "107".
diff --git a/lib/Travel/Status/DE/EFA/Result.pm b/lib/Travel/Status/DE/EFA/Result.pm
index bb0243b..325d0a3 100644
--- a/lib/Travel/Status/DE/EFA/Result.pm
+++ b/lib/Travel/Status/DE/EFA/Result.pm
@@ -198,6 +198,16 @@ The name/number of the line.
Travel::Status::DE::EFA::Line(3pm) object describing the departing line in
detail.
+=item $departure->mot
+
+Returns the "mode of transport" number. This is usually an integer between 0
+and 11.
+
+=item $departure->mot_name
+
+Returns the "mode of transport", for instance "zug", "s-bahn", "tram" or
+"sonstige".
+
=item $departure->platform
Departure platform number (may not be a number).