diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Travel/Status/DE/DBRIS/JourneyAtStop.pm | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/Travel/Status/DE/DBRIS/JourneyAtStop.pm b/lib/Travel/Status/DE/DBRIS/JourneyAtStop.pm index 7ab9ed7..98012ca 100644 --- a/lib/Travel/Status/DE/DBRIS/JourneyAtStop.pm +++ b/lib/Travel/Status/DE/DBRIS/JourneyAtStop.pm @@ -55,21 +55,6 @@ sub new { return $ref; } -sub route { - my ($self) = @_; - - if ( $self->{route} ) { - return @{ $self->{route} }; - } - - @{ $self->{route} } - = map { Travel::Status::DE::DBRIS::Location->new( json => $_ ) } - ( @{ $self->{raw_route} // [] }, - @{ $self->{raw_cancelled_route} // [] } ); - - return @{ $self->{route} }; -} - sub messages { my ($self) = @_; |