diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-12-15 19:34:59 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-12-15 19:34:59 +0100 |
commit | 8f13385e31b81e544d991b629f783f90eaeab4a7 (patch) | |
tree | 5931571fb97dae24b3392d78559a6abc710821db /lib | |
parent | a50cdf13d48e2ba9f040cbd1000accdc3b751cdf (diff) |
Journey: add ID and stop accessors
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Travel/Status/DE/DBRIS/Journey.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Travel/Status/DE/DBRIS/Journey.pm b/lib/Travel/Status/DE/DBRIS/Journey.pm index 30026ca..d82b21f 100644 --- a/lib/Travel/Status/DE/DBRIS/Journey.pm +++ b/lib/Travel/Status/DE/DBRIS/Journey.pm @@ -21,6 +21,11 @@ sub new { my $ref = { type => $json->{type}, line => $json->{lineName}, + id => $json->{id}, + journey_id => $json->{journeyID}, + admin_id => $json->{administrationID}, + stop_eva => $json->{stopPlace}{eva}, + stop_name => $json->{stopPlace}{name}, is_cancelled => $json->{canceled}, dest_name => $json->{destination}{name}, platform => $json->{platform}, |