NAME
Net::Launchpad::Model::Bug - Bug Model
VERSION
version 1.00
SYNOPSIS
use Net::Launchpad::Client;
my $c = Net::Launchpad::Client->new(
consumer_key => 'key',
access_token => '3243232',
access_token_secret => '432432432'
);
$c->staging(1);
my $bug = $c->model('Bug')->by_id(3);
print "Title: ". $bug->title;
print "Desc: ". $bug->description;
print "Heat: ". $bug->heat;
DESCRIPTION
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
web_link
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@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Adam Stokes.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
DISCLAIMER OF WARRANTY
BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.