NAME

PowerDNS::API::Client::Request - Request object for PowerDNS::API::Client

SYNOPSIS

This class manages setting up requests for the PowerDNS::API::Client, including signing of requests.

No user servicable parts inside. This part of the API is subject to change.

my $req = PowerDNS::API::Client::Request->new
   (api    => $powerdns_api,
    method => 'location/detail',
    args   => { foo => 'bar',
                fob => 123,
              },
   );

my $http_request = $req->http_request;

METHODS

api

http_request

Returns a HTTP::Request version of the request.

AUTHOR

Ask Bjørn Hansen, <ask at develooper.com>

COPYRIGHT & LICENSE

Copyright 2011 Ask Bjørn Hansen, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.