NAME

Net::Lighthouse::User - User

SYNOPSIS

    use Net::Lighthouse::User;
    use Net::Lighthouse::User;
    my $user = Net::Lighthouse::User->new(
        account => 'sunnavy',
        auth    => { token => '...' },
    );
    $user->load( 12345 );

ATTRIBUTES

id

ro, Int

avatar_url

ro, Str

name job website

rw, Maybe Str

INTERFACE

load( $id ), load_from_xml( $hashref | $xml_string )

load user, return loaded user object

update( name => '', job => '', website => '' )

update user, return true if succeed

memberships

return a list of memberships, each isa Net::Lighthouse::User::Membership

SEE ALSO

http://lighthouseapp.com/api/users

AUTHOR

sunnavy <sunnavy@bestpractical.com>

LICENCE AND COPYRIGHT

Copyright 2009-2010 Best Practical Solutions.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.