diff options
author | Daniel Friesel <derf@finalrewind.org> | 2015-10-07 11:21:40 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2015-10-07 11:21:40 +0200 |
commit | 2cb76946ee674340643c6538944a5a518fb4348c (patch) | |
tree | 2aae620fc5427ebcf71eba12734624fa2c54a5bc /lib/Travel/Status/DE/URA | |
parent | 8c47b832e20c80d58ca84b81cc52558093d3284b (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.pm | 10 |
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 { |