From e82fed061714c2fc31e8df78a42a509212746b0a Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 26 Mar 2021 20:48:33 +0100 Subject: Part: Document occupancy accessor --- lib/Travel/Routing/DE/EFA/Route/Part.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/Travel/Routing/DE/EFA/Route') 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 -- cgit v1.2.3