NAME

Net::OAuth::LP::Model::Bug - Launchpad.net bug 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 $bug = $model->namespace('Bug')->by_id(3);

say "Title: ". $bug->title;
say "Desc:  ". $bug->description;
say "Heat:  ". $bug->heat;

DESCRIPTION

Bug model for Launchpad.net Bugs.

ATTRIBUTES

bug

Bug object.

METHODS

by_id

This needs to be called before any of the below methods. Takes a Bug ID number.

id

Returns bug number.

title

Returns title of bug.

tasks

Returns a list of entries in the tasks object.

owner

Returns creator of bug

Returns browseable URL link to resource.

messages

Returns bug messages associated with Bug.

message_count

Returns message count

heat

Returns heat/importance of bug

description

Returns bug description

information_type

Returns whether this bug is a public/private issue.

tags

Returns a list of Tags associated with bug.

activity

Returns a bug activity collection

attachments

Returns list of bug attachments

can_expire

Returns whether the incomplete bug can be expired

date_created

Returns date bug was created

date_last_message

Return date of last posted bug message

date_last_updated

Returns date of last update, can be bug message or status changes.

duplicate_count

Returns number of bug duplicates

duplicate_of

Returns a bug resource that the specific bug is a duplicate of

users_affected_count

Returns count of users affected by bug

watches

Returns bug watch collection

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.