NAME
WaitReSS::Users - List of users
VERSION
version 0.004
SYNOPSIS
use WaitReSS::Users;
# $users is automatically available
my $user = $users->by_login( $login );
DESCRIPTION
This class implements a collection of users.
METHODS
list
my @users = $users->list;
Return the list of users (WaitReSS::User objects) currently existing within WaitReSS.
exists
my $bool = $users->exists( $login );
Return true if $login
already exists.
by_login
my $user = $users->by_login( $login );
Return the WaitReSS::User
object matching $login
if it exists.
register
$users->register( $login );
Register $login
in the $users
list if it doesn't already exist.
delete
$users->delete( $login );
Delete $login
from WaitReSS with all its related information.
AUTHOR
Jerome Quelin <jquelin@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2013 by Jerome Quelin.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.