WebService::ScormCloud::Service - ScormCloud API base class
Version 0.03
use WebService::ScormCloud; my $ScormCloud = WebService::ScormCloud->new( app_id => '12345678', secret_key => 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', ); print "Service is alive\n" if $ScormCloud->ping; print "Auth is valid\n" if $ScormCloud->authPing;
This module defines WebService::ScormCloud shared API methods. See WebService::ScormCloud for more info.
Returns a URI object that would be used to make a ScormCloud API request.
Note that you would not typically call this method directly - use the API methods defined in the "API CLASSES" instead.
The params hashref should contain all query params and values used in building the request query string. At minimum it must include a value for "method".
Make an API request:
my $parsed_response_data = $ScormCloud->request(method => 'rustici.debug.authPing');
Make an API request, and return desired data out of the response.
Input arguments are:
A hashref of API request params. At minimum must include "method".
A callback function that extracts and returns the desired data from the response data. The callback should expect a single argument "response" which is the parsed XML response data.
An optional hashref of arguments to modify the request.
WebService::ScormCloud
Larry Leszczynski, <larryl at cpan.org>
<larryl at cpan.org>
Please report any bugs or feature requests to bug-scormcloud at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WebService-ScormCloud. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-scormcloud at rt.cpan.org
Patches more than welcome, especially via GitHub: https://github.com/larryl/ScormCloud
You can find documentation for this module with the perldoc command.
perldoc WebService::ScormCloud::Service
You can also look for information at:
GitHub
https://github.com/larryl/ScormCloud
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=WebService-ScormCloud
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/WebService-ScormCloud
CPAN Ratings
http://cpanratings.perl.org/d/WebService-ScormCloud
Search CPAN
http://search.cpan.org/dist/WebService-ScormCloud/
Copyright 2010 Larry Leszczynski.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install WebService::ScormCloud, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WebService::ScormCloud
CPAN shell
perl -MCPAN -e shell install WebService::ScormCloud
For more information on module installation, please visit the detailed CPAN module installation guide.