NAME
Net::OAuth::LP::Models::Person - Person model
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, resource => '~adam-stokes');
$p->fetch;
say $p->attrs->display_name;
ATTRIBUTES
attrs
Contains hash object of https://api.launchpad.net/1.0.html#person
resource
METHODS
new
my $p =
Net::OAuth::LP::Models::Person->new(c => $c, resource => 'lp-name');
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;