IntelliHome::WebUI::Plugin::ModelFactory - IntelliHome/Google-at-Home GitHub Wiki

NAME

IntelliHome::WebUI::Plugin::ModelFactory - ModelFactory plugin for mojolicious web application

SYNOPSIS

build_tiles;
#...
build_rooms;
#...
build_nodes;

DESCRIPTION

This Mojolicious plugin allow to build internal structures used into the web application

METHODS

build_rooms

returns an array ref containing the rooms object IntelliHome::WebUI::Model::Room

build_rooms

build_tiles

returns an array of IntelliHome::WebUI::Model::Tile objects

build_tiles;

build_nodes

returns an array of IntelliHome::WebUI::Model::Node objects

build_nodes;

AUTHOR

skullbocks [email protected]

COPYRIGHT

Copyright 2014- skullbocks

LICENSE

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

SEE ALSO

IntelliHome::WebUI::Plugin::ModelFactory, IntelliHome::IntelliHomeWebUI, IntelliHome::Schema::SQLite::Schema::Result::Room, IntelliHome::Schema::SQLite::Schema::Result::Room