NAME

Rest::HtmlVis::Content - Return base block for keys links and form.

VERSION

Version 0.01

SYNOPSIS

Quick summary of what the module does.

Perhaps a little code snippet.

use Rest::HtmlVis::Content;

my $foo = Rest::HtmlVis::Content->new();
...

KEYS

Convert default strcuture of links. Each link should consists of:

  • href

    URL of target.Can be absolute or relative.

  • title

    Name of the link.

  • rel

    Identifier of the link (type of the link)

Example:

links => [
	{
		href => '/api/test',
		title => 'Test resource',
		rel => 'api.test'
	}
]

form

Define elements of formular for html.

AUTHOR

Václav Dovrtěl <vaclav.dovrtel@gmail.com>

BUGS

Please report any bugs or feature requests to github repository.

ACKNOWLEDGEMENTS

Inspired by https://github.com/towhans/hochschober

REPOSITORY

https://github.com/vasekd/Rest-HtmlVis

LICENSE AND COPYRIGHT

Copyright 2015 Vaclav Dovrtel.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.