NAME

JIRA::REST::Class::Factory - A factory class for building all the other classes in JIRA::REST::Class.

VERSION

version 0.12

DESCRIPTION

This module imports a hash of object type package names from JIRA::REST::Class::FactoryTypes.

INTERNAL METHODS

init

Initialize the factory object. Just copies all the elements in the hashref that were passed in to the object itself.

get_factory_class

Inherited method from Class::Factory.

make_object

A tweaked version of make_object_for_type from Class::Factory::Enhanced that calls init() with a copy of the factory.

make_date

Make it easy to get DateTime objects from the factory. Parses JIRA date strings, which are in a format that can be parsed by the DateTime::Format::Strptime patterns %FT%T.%N%z or %F

factory_error

Throws errors from the factory with stack traces

RELATED CLASSES

AUTHOR

Packy Anderson <packy@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2017 by Packy Anderson.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)