diff options
Diffstat (limited to 'lib/Travel/Status/DE/EFA')
-rw-r--r-- | lib/Travel/Status/DE/EFA/Result.pm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/Travel/Status/DE/EFA/Result.pm b/lib/Travel/Status/DE/EFA/Result.pm index 95e35cd..f729034 100644 --- a/lib/Travel/Status/DE/EFA/Result.pm +++ b/lib/Travel/Status/DE/EFA/Result.pm @@ -29,6 +29,18 @@ sub new { return bless( $ref, $obj ); } +sub route_pre { + my ($self) = @_; + + return @{ $self->{prev_route} }; +} + +sub route_post { + my ($self) = @_; + + return @{ $self->{next_route} }; +} + sub TO_JSON { my ($self) = @_; |