The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::OAuth::LP::Model::Person - Launchpad.net person interface

SYNOPSIS

    use Net::OAuth::LP::Client;
    use Net::OAuth::LP::Model;
    my $c = Net::OAuth::LP::Client->new;
    $c->staging(1);

    my $model = Net::OAuth::LP::Model->new($c);
    my $person = $model->namespace('Person')->by_name('~adam-stokes');

    say "Name: ". $person->name;

DESCRIPTION

Person model for Launchpad.net.

ATTRIBUTES

person

Holds person object.

METHODS

by_name

This needs to be called before any of the below methods. Takes a login id, e.g. ~adam-stokes

name

Returns person name.

karma

Returns person karma.

display_name

Returns friendly display name

date_created

Returns date person registered

description

Returns description blob

gpg_keys

Returns list a gpg keys registered

irc_nicks

Returns list of irc nicks

is_team

Returns whether collection is a person or team

is_ubuntu_coc_signer

Returns if person signed Ubuntu COC

is_valid

Returns if person is valid and not a deactivated account

ppas

Returns list of ppas associated

private

Returns if person or team is registered as private

source_recipes

Returns recipe collection of package builds

ssh_keys

Returns list of public ssh keys

time_zone

Returns persons time zone

Returns friendly display name, usually first and last name.

AUTHOR

Adam Stokes, <adamjs at cpan.org>

BUGS

Report bugs to https://github.com/battlemidget/Net-OAuth-LP/issues.

DEVELOPMENT

Repository

    http://github.com/battlemidget/Net-OAuth-LP

SUPPORT

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

    perldoc Net::OAuth::LP

SEE ALSO

COPYRIGHT

Copyright 2013-2014 Adam Stokes

LICENSE

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