| Fedora-Bugzilla documentation | view source | Contained in the Fedora-Bugzilla distribution. |
Fedora::Bugzilla::Types - Moose types and coercions for Fedora::Bugzilla
use Fedora::Bugzilla::Types ':all';
# ... can now use our types in attribute definitions
This is simply a collection of Moose types and related coercions for Fedora::Bugzilla.
A string type with a length at most of 20 characters.
Simply a DateTime object with a DateTime::Format::Pg as its formatter. (Note this may be specific to the database one's Bugzilla instance is running on.)
Will coerce from DateTime.
Simply an Email::Address.
Will coerce from a Str.
Chris Weyl <cweyl@alumni.drew.edu>
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
| Fedora-Bugzilla documentation | view source | Contained in the Fedora-Bugzilla distribution. |