NAME

Net::OAuth::LP::Models::Bug

DESCRIPTION

Bug Model

METHODS

new

my $b = Net::OAuth::LP::Models::Bug->new;

find

my $bug = $b->find(1);

bug_set_tags

$lp->bug_set_tags($bug, ['tagA', 'tagB']);

bug_set_title

Set title(aka summary) of bug

$lp->bug_set_title($bug, 'A new title');

bug_new_message

Adds a new message to the bug.

$lp->bug_new_message($bug, "This is a comment");

bug_activity

Views bug activity

$lp->bug_activity($resource_link);

bug_task

View bug tasks

$lp->bug_task($resource);

bug_set_importance

Sets priority ['Critical', 'High', 'Medium', 'Low']

$lp->bug_set_importance($bug, 'Critical');

bug_set_assignee

Sets the assignee of bug.

my $person = $lp->person('~adam-stokes');
$lp->bug_set_assignee($bug, $person);