From 46fbe0aef7b81bbc80a081101e97cadf5968963d Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 29 May 2015 15:09:12 +0200 Subject: add full-route / full_routes option (passed to EFA, but not used yet) --- lib/Travel/Status/DE/EFA.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib') diff --git a/lib/Travel/Status/DE/EFA.pm b/lib/Travel/Status/DE/EFA.pm index 0143cb6..76b87f2 100644 --- a/lib/Travel/Status/DE/EFA.pm +++ b/lib/Travel/Status/DE/EFA.pm @@ -107,6 +107,11 @@ sub new { developer_mode => $opt{developer_mode}, }; + if ( $opt{full_routes} ) { + $self->{post}->{depType} = 'stopEvents'; + $self->{post}->{includeCompleteStopSeq} = 1; + } + bless( $self, $class ); $ua->env_proxy; -- cgit v1.2.3