summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE/EFA
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-09-22 17:13:43 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-09-22 17:13:43 +0200
commit8eb5ae8c9067f5a247789b61795a257341164fc0 (patch)
tree0b2d663c818ed48b3d56de2eb0153653c8256ace /lib/Travel/Status/DE/EFA
parent38f3d2bcae2dd5ec6f7c09e3ed86868fb0c384ed (diff)
parse and expose stop IDs
Diffstat (limited to 'lib/Travel/Status/DE/EFA')
-rw-r--r--lib/Travel/Status/DE/EFA/Stop.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/EFA/Stop.pm b/lib/Travel/Status/DE/EFA/Stop.pm
index 609c197..0332311 100644
--- a/lib/Travel/Status/DE/EFA/Stop.pm
+++ b/lib/Travel/Status/DE/EFA/Stop.pm
@@ -9,7 +9,7 @@ use parent 'Class::Accessor';
our $VERSION = '2.02';
Travel::Status::DE::EFA::Stop->mk_ro_accessors(
- qw(arr dep place name full_name platform));
+ qw(arr dep place name full_name id platform));
sub new {
my ( $obj, %conf ) = @_;
@@ -71,6 +71,10 @@ first scheduled stop.
DateTime(3pm) object holding departure date and time. undef if this is the
final scheduled stop.
+=item $stop->id
+
+Stop ID.
+
=item $stop->place
City name, for instance "Essen".