Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Travel-Status-DE-HAFAS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
derf
Travel-Status-DE-HAFAS
Commits
48c69450
Commit
48c69450
authored
2 years ago
by
Daniel Friesel
Browse files
Options
Downloads
Patches
Plain Diff
Journey: document station / station_uic / route_interesting
parent
c9ea85b0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/Travel/Status/DE/HAFAS/Journey.pm
+14
-0
14 additions, 0 deletions
lib/Travel/Status/DE/HAFAS/Journey.pm
with
14 additions
and
0 deletions
lib/Travel/Status/DE/HAFAS/Journey.pm
+
14
−
0
View file @
48c69450
...
...
@@ -530,6 +530,14 @@ service notices (e.g. "missing carriage") or detailed delay reasons
Returns the operator responsible for this journey. Returns undef
if the backend does not provide an operator.
=item $journey->station (station only)
Name of the station at which this journey was requested.
=item $journey->station_uic (station only)
UIC/EVA ID of the station at which this journey was requested.
=item $journey->route
Returns a list of hashes; each hash describes a single journey stop.
...
...
@@ -577,6 +585,12 @@ entire route. Each hash contains the following keys:
Individual entries may be undef.
=item $journey->route_interesting([I<count>])
Return up to I<count> (default: B<3>) parts of C<< $journey->route >> that may
be particularly helpful, e.g. main stations or airports.
Returns a list of hashes, see above for the layout.
=item $journey->route_end
Name of the last route station. In arrival mode, this is where the train
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment