From c1c3afa66bf6e2ad0b1a1731c057f10468605468 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 28 Jun 2011 10:57:36 +0200 Subject: VRR.pm: Document new submit behaviour --- lib/Travel/Routing/DE/VRR.pm | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'lib/Travel/Routing/DE') diff --git a/lib/Travel/Routing/DE/VRR.pm b/lib/Travel/Routing/DE/VRR.pm index 73de3d1..62d6a3e 100644 --- a/lib/Travel/Routing/DE/VRR.pm +++ b/lib/Travel/Routing/DE/VRR.pm @@ -636,9 +636,10 @@ It uses B and B for this. =over -=item $efa = Travel::Routing::DE::VRR->new(I<%conf>) +=item $efa = Travel::Routing::DE::VRR->new(I<%opts>) -Returns a new Travel::Routing::DE::VRR object and sets up its POST data via %conf. +Returns a new Travel::Routing::DE::VRR object and sets up its POST data via +%opts. Valid hash keys and their values are: @@ -704,12 +705,22 @@ Set walk speed. Default: B If true: Prefer connections allowing passengers with bikes +=item B => I<\%hashref> + +Options to pass to C<< LWP::UserAgent->new >>. + +=item B => B<0>|B<1> + +By default, B will create a POST request and submit it to +L. If you do not want it to be submitted yet, set this to +B<0>. + =back =item $efa->submit(I<%opts>) -Submit the query to B. -I<%opts> is passed on to C<< LWP::UserAgent->new(%opts) >>. +Submit the query to L. +I<%opts> is passed on to C<< LWP::UserAgent->new >>. =item $efa->routes() -- cgit v1.2.3