This is an automated email from the git hooks/post-receive script. kanashiro-guest pushed a commit to tag 1.08 in repository libflickr-api-perl.
commit 2dade1d91acdf61ea745b98d3ef44a39cf1ac9ca Author: Gabor Szabo <ga...@szabgab.com> Date: Tue Jun 18 20:46:07 2013 +0300 pod: turn some C<> to linkL<> and replace indirect calls in examples by direct calls --- lib/Flickr/API.pm | 20 ++++++++++---------- lib/Flickr/API/Request.pm | 6 +++--- lib/Flickr/API/Response.pm | 10 +++++----- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/lib/Flickr/API.pm b/lib/Flickr/API.pm index 310e030..fd268dd 100644 --- a/lib/Flickr/API.pm +++ b/lib/Flickr/API.pm @@ -176,7 +176,7 @@ Flickr::API - Perl interface to the Flickr API use Flickr::API; - my $api = new Flickr::API({ + my $api = Flickr::API->new({ 'key' => 'your_api_key', 'secret' => 'your_app_secret', 'unicode'=> 0, @@ -192,9 +192,9 @@ or use Flickr::API; use Flickr::API::Request; - my $api = new Flickr::API({'key' => 'your_api_key'}); + my $api = Flickr::API->new({'key' => 'your_api_key'}); - my $request = new Flickr::API::Request({ + my $request = Flickr::API::Request->new({ 'method' => 'flickr.test.echo', 'args' => {}, }); @@ -215,7 +215,7 @@ proxy, request limits, caching, etc are available. =item C<new({ opt =E<gt> 'value', ... })> -Returns as new C<Flickr::API> object. The options are as follows: +Returns as new L<Flickr::API> object. The options are as follows: =over @@ -233,8 +233,8 @@ Override the URIs used for contacting the API. =item C<lwpobj> -Base the C<Flickr::API> on this object, instead of creating a new instance of C<LWP::UserAgent>. -This is useful for using the features of e.g. C<LWP::UserAgent::Cached>. +Base the C<Flickr::API> on this object, instead of creating a new instance of L<LWP::UserAgent>. +This is useful for using the features of e.g. L<LWP::UserAgent::Cached>. =item C<unicode> @@ -245,16 +245,16 @@ actual unicode strings (unicode=1) in the request. =item C<execute_method($method, $args)> -Constructs a C<Flickr::API::Request> object and executes it, returning a C<Flickr::API::Response> object. +Constructs a L<Flickr::API::Request> object and executes it, returning a L<Flickr::API::Response> object. =item C<execute_request($request)> -Executes a C<Flickr::API::Request> object, returning a C<Flickr::API::Response> object. Calls are signed -if a secret was specified when creating the C<Flickr::API> object. +Executes a L<Flickr::API::Request> object, returning a L<Flickr::API::Response> object. Calls are signed +if a secret was specified when creating the L<Flickr::API> object. =item C<request_auth_url($perms,$frob)> -Returns a C<URI> object representing the URL that an application must redirect a user to for approving +Returns a L<URI> object representing the URL that an application must redirect a user to for approving an authentication token. For web-based applications I<$frob> is an optional parameter. diff --git a/lib/Flickr/API/Request.pm b/lib/Flickr/API/Request.pm index 2c8bcf5..c095096 100644 --- a/lib/Flickr/API/Request.pm +++ b/lib/Flickr/API/Request.pm @@ -60,9 +60,9 @@ Flickr::API::Request - A request to the Flickr API use Flickr::API; use Flickr::API::Request; - my $api = new Flickr::API({'key' => 'your_api_key'}); + my $api = Flickr::API->new({'key' => 'your_api_key'}); - my $request = new Flickr::API::Request({ + my $request = Flickr::API::Request->new({ 'method' => $method, 'args' => {}, }); @@ -74,7 +74,7 @@ Flickr::API::Request - A request to the Flickr API This object encapsulates a request to the Flickr API. -C<Flickr::API::Request> is a subclass of C<HTTP::Request>, so you can access +C<Flickr::API::Request> is a subclass of L<HTTP::Request>, so you can access any of the request parameters and tweak them yourself. The content, content-type header and content-length header are all built from the 'args' list by the C<Flickr::API::execute_request()> method. diff --git a/lib/Flickr/API/Response.pm b/lib/Flickr/API/Response.pm index e77c462..7593c98 100644 --- a/lib/Flickr/API/Response.pm +++ b/lib/Flickr/API/Response.pm @@ -50,7 +50,7 @@ Flickr::API::Response - A response from the flickr API. use Flickr::API; use Flickr::API::Response; - my $api = new Flickr::API({'key' => 'your_api_key'}); + my $api = Flickr::API->new({'key' => 'your_api_key'}); my $response = $api->execute_method('flickr.test.echo', { 'foo' => 'bar', @@ -62,7 +62,7 @@ Flickr::API::Response - A response from the flickr API. =head1 DESCRIPTION This object encapsulates a response from the Flickr API. It's -a subclass of C<HTTP::Response> with the following additional +a subclass of L<HTTP::Response> with the following additional keys: { @@ -73,13 +73,13 @@ keys: } The C<_request> key contains the request object that this response -was generated from. This request will be a C<Flickr::API::Request> -object, which is a subclass of C<HTTP:Request>. +was generated from. This request will be a L<Flickr::API::Request> +object, which is a subclass of L<HTTP:Request>. The C<sucess> key contains 1 or 0, indicating whether the request suceeded. If it failed, C<error_code> and C<error_message> explain what went wrong. If it suceeded, C<tree> -contains an C<XML::Parser::Lite::Tree> object of the response XML. +contains an L<XML::Parser::Lite::Tree> object of the response XML. =head1 AUTHOR -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libflickr-api-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits