%% @author author %% @copyright YYYY author. %% @doc Example webmachine_resource. -module(skel_resource). -export([init/1, to_html/2]). -include_lib("webmachine/include/webmachine.hrl"). init([]) -> {ok, undefined}. to_html(ReqData, State) -> {"Hello, new world", ReqData, State}.