Provided by: libnet-trac-perl_0.16-2_all
Net::Trac::TicketAttachment - Represents a single attachment for a Trac ticket
This class represents a single attachment for a Trac ticket. You do not want to deal with instantiating this class yourself. Instead let Net::Trac::Ticket do the work.
connection Returns the Net::Trac::Connection used by this class. ticket Returns the ID of the ticket to which this attachment belongs. filename description url Relative to the remote Trac instance URL as set in the Net::Trac::Connection. content returns the content of the attachment content_type returns the content_type of the attachment size In bytes. author date Returns a DateTime object.
_parse_html_chunk STRING Parses a specific chunk of HTML (as extracted by Net::Trac::Ticket) into the various fields.
Copyright 2008-2009 Best Practical Solutions. This package is licensed under the same terms as Perl 5.8.8.