diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-03-26 20:48:33 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-03-26 20:48:33 +0100 |
commit | e82fed061714c2fc31e8df78a42a509212746b0a (patch) | |
tree | 2c9067fd517fde889ffa4a2c975ec38de630902a /lib | |
parent | 1a14e16022b2dff4b2141e5c977ae1510f627ede (diff) |
Part: Document occupancy accessor
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Travel/Routing/DE/EFA/Route/Part.pm | 5 |
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 |