Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the WebService-Linode CPAN distribution.

Report information
The Basics
Id: 59535
Status: resolved
Priority: 0/
Queue: WebService-Linode

People
Owner: STANS [...] cpan.org
Requestors: paul [...] ecopixel.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: WebService::Linode::Base - errors in example
Date: Mon, 19 Jul 2010 08:54:11 -0500 (CDT)
To: bug-webservice-linode [...] rt.cpan.org
From: Paul Hansen <paul [...] ecopixel.com>
Hi Michael, I just wanted to note that the docs (e.g. at http://search.cpan.org/~mikegrb/WebService-Linode/lib/WebService/Linode/Base.pm) contain several errors: ---------------- #(current text) use WebService::Linode::Base; my $api = new WebService::Linode(apikey => 'mmmcake'); my $data = $api->do_request( action => 'domains.list' ); ---------------- #(should be) use WebService::Linode::Base; my $api = new WebService::Linode::Base(apikey => 'mmmcake'); ^^^^^^ my $data = $api->do_request( api_action => 'domain.list' ); ^^^^ ^ ---------------- I hope that helps someone :) Thank you for the API and the Perl modules! Take care, Paul
On Mon Jul 19 09:54:23 2010, paul@ecopixel.com wrote: Show quoted text
> Hi Michael, > > I just wanted to note that the docs (e.g. at > http://search.cpan.org/~mikegrb/WebService- > Linode/lib/WebService/Linode/Base.pm) contain several errors: > > ---------------- > #(current text) > use WebService::Linode::Base; > > my $api = new WebService::Linode(apikey => 'mmmcake'); > my $data = $api->do_request( action => 'domains.list' ); > > ---------------- > #(should be) > use WebService::Linode::Base; > > my $api = new WebService::Linode::Base(apikey => 'mmmcake'); > ^^^^^^ > my $data = $api->do_request( api_action => 'domain.list' ); > ^^^^ ^ > ---------------- > > I hope that helps someone :) Thank you for the API and the Perl > modules! > > Take care, > > Paul
Thank you very much for the report, Paul. These would be artifacts from WebService::Linode::Base being WebService::Linode previously. I have an update about ready to go that adds new API methods so I will get these fixes included as well. Mike
On Mon Jul 19 09:54:23 2010, paul@ecopixel.com wrote: Show quoted text
> Hi Michael, > > I just wanted to note that the docs (e.g. at > http://search.cpan.org/~mikegrb/WebService- > Linode/lib/WebService/Linode/Base.pm) contain several errors: > > ---------------- > #(current text) > use WebService::Linode::Base; > > my $api = new WebService::Linode(apikey => 'mmmcake'); > my $data = $api->do_request( action => 'domains.list' ); > > ---------------- > #(should be) > use WebService::Linode::Base; > > my $api = new WebService::Linode::Base(apikey => 'mmmcake'); > ^^^^^^ > my $data = $api->do_request( api_action => 'domain.list' ); > ^^^^ ^ > ---------------- > > I hope that helps someone :) Thank you for the API and the Perl > modules! > > Take care, > > Paul
Hi Paul, We've corrected this and will release it in the next update shortly. Thanks for bringing it to our attention! Regards, Stan Schwertly