summaryrefslogtreecommitdiff
path: root/lib/Travel/Routing/DE/EFA/Route
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travel/Routing/DE/EFA/Route')
-rw-r--r--lib/Travel/Routing/DE/EFA/Route/Part.pm21
1 files changed, 20 insertions, 1 deletions
diff --git a/lib/Travel/Routing/DE/EFA/Route/Part.pm b/lib/Travel/Routing/DE/EFA/Route/Part.pm
index cc52f80..3bf5d60 100644
--- a/lib/Travel/Routing/DE/EFA/Route/Part.pm
+++ b/lib/Travel/Routing/DE/EFA/Route/Part.pm
@@ -82,10 +82,29 @@ sub footpath_parts {
return;
}
+# DEPRECATED
sub extra {
my ($self) = @_;
- return @{ $self->{extra} // [] };
+ return @{ $self->{sched_info} // [] };
+}
+
+sub sched_info {
+ my ($self) = @_;
+
+ if ( $self->{sched_info} ) {
+ return @{ $self->{sched_info} };
+ }
+ return;
+}
+
+sub current_info {
+ my ($self) = @_;
+
+ if ( $self->{current_info} ) {
+ return @{ $self->{current_info} };
+ }
+ return;
}
sub via {