NAME

Net::OAuth::LP::Models::Person - Person interface

DESCRIPTION

Model interface for retrieving/setting person/team information.

SYNOPSIS

    my $c = Net::OAuth::LP::Client->new(consumer_key => 'blah',
                                        access_token => 'fdsafsda',
                                        access_token_secret => 'fdsafsda');

    my $p = Net::OAuth::LP::Models::Person->new(c => $c);
    $p->find('~adam-stokes');
    say $p->display_name;

ATTRIBUTES

display_name

Return display name

description

Return description

emails

Return confirmed emails

karma

Return karma

ircnick

Return irc nickname

name

Return launchpad name

recipes

Return source recipes

tz

Returns time_zone

METHODS

new

    my $p = Net::OAuth::LP::Models::Person->new;

find

Queries a person or team resource.

    $p->find('~launchpad-user-or-team');

set_name

Set launchpad name

    $p->set_name('new-name');

set_description

Set description

    $p->set_description('Im a real boy!');

set_display_name

Sets display name

    $p->set_display_name('A Name');

get_assigned_bugs

Gets bugs assigned to $person

    $p->get_assigned_bugs;