NAME
WaitReSS::User - A WaitReSS user
VERSION
version 0.002
DESCRIPTION
This class represents a WaitReSS user.
ATTRIBUTES
login
The user login. Required, used as unique identifier.
METHODS
new_from_directory
my $user = WaitReSS::User->new_from_directory( $dir );
Return a new WaitReSS::User loaded with information located in $dir
(a Path::Tiny object).
save
$user->save;
Save the user main information to be retrieved later on.
delete
Delete $user
and all its related information. Note that you should also make sure WaitReSS::Users is correctly updated.
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.