Chris Weyl > Fedora-Bugzilla-0.13 > Fedora::Bugzilla::Bug::Attachment

Download:
Fedora-Bugzilla-0.13.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  3
Open  0
View/Report Bugs
Module Version: 0.13   Source  

NAME ^

Fedora::Bugzilla::Bug::Attachment - A bug attachment

DESCRIPTION ^

This class represents a bug attachment, and provides various methods to manipulate its data. Right now, we don't support making any modifications to the attachment (e.g. marking obsolete).

METHODS ^

bug

Our parent bug.

number

The id of the attachment relative to the bug (e.g. this is attachment number() of 13,000).

id
date
desc
filename
size
type
attacher
is_obsolete
is_patch
is_private
data
raw_data
encoding
as_string

This class stringifies to its id().

DIAGNOSTICS ^

We'll complain loudly and die on a non-existant attachment.

We will also complain loudly if the data decoding process fails for whatever reason. See MIME::Base64 for more details.

SEE ALSO ^

Fedora::Bugzilla::Bug, Fedora::Bugzilla.

LIMITATIONS ^

Right now, we don't support any methods to change an attachment (status, etc), neither do we provide an easy way of getting at the flags that may be associated with the attachment.

BUGS ^

See Fedora::Bugzilla.

AUTHOR ^

Chris Weyl <cweyl@alumni.drew.edu>

LICENSE AND COPYRIGHT ^

Copyright (c) 2009 Chris Weyl <cweyl@alumni.drew.edu>

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the

    Free Software Foundation, Inc.
    59 Temple Place, Suite 330
    Boston, MA  02111-1307  USA
syntax highlighting: