Sakai::Nakamura::UserUtil - Methods to generate and check HTTP requests required for manipulating users.
Utility library returning strings representing Rest queries that perform user related actions in the system.
Returns a textual representation of the request needed to test whether a given username exists in the system.
Inspects the result returned from issuing the request generated in exists_setup returning true if the result indicates the username does exist in the system, else false.
Returns a textual representation of the request needed to return information about the current user.
Inspects the result returned from issuing the request generated in me_setup returning true if the result indicates information was returned successfully, else false.
Returns a textual representation of the request needed to update the profile for a specified user.
Inspects the result returned from issuing the request generated in profile_setup returning true if the result indicates profile information was updated successfully, else false.
use Sakai::Nakamura::UserUtil;
UserUtil perl library essentially provides the request strings needed to interact with user functionality exposed over the system rest interfaces.
Each interaction has a setup and eval method. setup provides the request, whilst eval interprets the response to give further information about the result of performing the request.
None required.
n/a
0 on success.
None known.
Daniel David Parry <perl@ddp.me.uk>
LICENSE: http://dev.perl.org/licenses/artistic.html
COPYRIGHT: (c) 2012 Daniel David Parry <perl@ddp.me.uk>
To install Sakai::Nakamura, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Sakai::Nakamura
CPAN shell
perl -MCPAN -e shell install Sakai::Nakamura
For more information on module installation, please visit the detailed CPAN module installation guide.