summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-03-26 20:48:33 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-03-26 20:48:33 +0100
commite82fed061714c2fc31e8df78a42a509212746b0a (patch)
tree2c9067fd517fde889ffa4a2c975ec38de630902a
parent1a14e16022b2dff4b2141e5c977ae1510f627ede (diff)
Part: Document occupancy accessor
-rw-r--r--lib/Travel/Routing/DE/EFA/Route/Part.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Travel/Routing/DE/EFA/Route/Part.pm b/lib/Travel/Routing/DE/EFA/Route/Part.pm
index da3d400..b9f1396 100644
--- a/lib/Travel/Routing/DE/EFA/Route/Part.pm
+++ b/lib/Travel/Routing/DE/EFA/Route/Part.pm
@@ -316,6 +316,11 @@ Returns true if this part of the route has been cancelled (i.e., the entire
route is probably useless), false otherwise. For unknown reasons, EFA may
sometimes return routes which contain cancelled departures.
+=item $part->occupancy
+
+Returns expected occupancy, if available. Values range from 1 (low occupancy)
+to 3 (very high occupancy).
+
=item $part->regular_notes
Remarks about the line serving this connaction part. Returns a list of