NAME
Net::OAuth::LP::Models::Bug - Bug model
DESCRIPTION
Interface to setting/retrieving bug information
SYNOPSIS
my $b = Net::OAuth::LP::Models::Bug->new;
$b->find(1);
say $b->description;
ATTRIBUTES
activity
attachments
branches
bug
display_name
heat
id
information_type
name
owner
self_link
tags
tasks
title
watches
web_link
METHODS
new
my $b = Net::OAuth::LP::Models::Bug->new;
find
$b->find(1);
set_tags
$b->set_tags(['tagA', 'tagB']);
set_title
Set title(aka summary) of bug
$b->set_title('A new title');
new_message
Adds a new message to the bug.
$b->new_message("This is a comment");
set_importance
Sets priority ['Critical', 'High', 'Medium', 'Low']
$b->set_importance('Critical');
set_assignee
Sets the assignee of bug.
$person->find('~adam-stokes');
$b->set_assignee($person);