summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE/EFA
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travel/Status/DE/EFA')
-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).