App::TemplateServer::Provider::Null - a test template provider


App-TemplateServer documentation  | view source Contained in the App-TemplateServer distribution.

Index


NAME

Top

App::TemplateServer::Provider::Null - a test template provider

SYNOPSIS

Top

This doesn't do anything useful. It's just example code for you to poke at.

Try it out like this:

  template-server --provider Null --data /path/to/some/yaml

Then visit http://localhost:4000/test and you can see the YAML.

METHODS

Top

list_templates

render_template

Both implemented as App::TemplateServer::Provider suggests.

SEE ALSO

Top

App::TemplateServer

App::TemplateServer::Provider


App-TemplateServer documentation  | view source Contained in the App-TemplateServer distribution.