NAME

ElasticSearchX::Model::Generator::DocumentGenerator - Moose Class generation back end for Documents/Types.

VERSION

version 0.1.8

METHODS

generate

$generated_document = $documentgenerator->generate(
  index        => ... Name of current index ...
  typename     => ... Name of the type we're generating ...
);
$generated_document->isa(ElasticSearchX::Model::Generator::Generated::Document);

ATTRIBUTES

generator_base

rw, required, weak_ref

PRIVATE METHODS

_template_string

_fill_template

AUTHOR

Kent Fredric <kentfredric@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Kent Fredric <kentfredric@gmail.com>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.