summaryrefslogtreecommitdiff
path: root/lib/Travel
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-05-29 15:09:12 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-05-29 15:09:12 +0200
commit46fbe0aef7b81bbc80a081101e97cadf5968963d (patch)
treedbb3a658a88fd297158a6717685dd834d2655db4 /lib/Travel
parent7f49411f87ec0533a261ce875967f7f9a22b8777 (diff)
add full-route / full_routes option (passed to EFA, but not used yet)
Diffstat (limited to 'lib/Travel')
-rw-r--r--lib/Travel/Status/DE/EFA.pm5
1 files changed, 5 insertions, 0 deletions
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;