Larry Leszczynski > WebService-ScormCloud > WebService::ScormCloud::Service::Debug

Download:
WebService-ScormCloud-0.03.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.03   Source  

NAME ^

WebService::ScormCloud::Service::Debug - ScormCloud API "debug" namespace

VERSION ^

Version 0.03

SYNOPSIS ^

    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;

    print "Service says the UTC time is ", $ScormCloud->getTime, "\n";

DESCRIPTION ^

This module defines WebService::ScormCloud API methods in the "debug" namespace. See WebService::ScormCloud for more info.

METHODS ^

ping

Returns true if the API service is reachable.

authPing

Returns true if the API service is reachable, and both the application ID and secret key are valid.

getTime

Returns the current time at the API service host. The time is in UTC and is formatted as "YYYYMMDDhhmmss".

SEE ALSO ^

WebService::ScormCloud

AUTHOR ^

Larry Leszczynski, <larryl at cpan.org>

BUGS ^

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.

Patches more than welcome, especially via GitHub: https://github.com/larryl/ScormCloud

SUPPORT ^

You can find documentation for this module with the perldoc command.

    perldoc WebService::ScormCloud::Service::Debug

You can also look for information at:

ACKNOWLEDGEMENTS ^

COPYRIGHT & LICENSE ^

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.

syntax highlighting: