summaryrefslogtreecommitdiff
path: root/lib/Travel/Status/DE/URA
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-10-07 11:21:40 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-10-07 11:21:40 +0200
commit2cb76946ee674340643c6538944a5a518fb4348c (patch)
tree2aae620fc5427ebcf71eba12734624fa2c54a5bc /lib/Travel/Status/DE/URA
parent8c47b832e20c80d58ca84b81cc52558093d3284b (diff)
proper route handling, generic route_pre / route_post in backend
Diffstat (limited to 'lib/Travel/Status/DE/URA')
-rw-r--r--lib/Travel/Status/DE/URA/Result.pm10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/Travel/Status/DE/URA/Result.pm b/lib/Travel/Status/DE/URA/Result.pm
index c59d9e1..fe6b75e 100644
--- a/lib/Travel/Status/DE/URA/Result.pm
+++ b/lib/Travel/Status/DE/URA/Result.pm
@@ -106,10 +106,16 @@ sub route_interesting {
return @via_show;
}
-sub route_timetable {
+sub route_pre {
my ($self) = @_;
- return @{ $self->{route_timetable} };
+ return @{ $self->{route_pre} };
+}
+
+sub route_post {
+ my ($self) = @_;
+
+ return @{ $self->{route_post} };
}
sub TO_JSON {