diff options
Diffstat (limited to 'test/http_SUITE_data/rest_simple_resource.erl')
-rw-r--r-- | test/http_SUITE_data/rest_simple_resource.erl | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/test/http_SUITE_data/rest_simple_resource.erl b/test/http_SUITE_data/rest_simple_resource.erl deleted file mode 100644 index 68e1b95..0000000 --- a/test/http_SUITE_data/rest_simple_resource.erl +++ /dev/null @@ -1,14 +0,0 @@ --module(rest_simple_resource). - --export([init/2]). --export([content_types_provided/2]). --export([get_text_plain/2]). - -init(Req, Opts) -> - {cowboy_rest, Req, Opts}. - -content_types_provided(Req, State) -> - {[{{<<"text">>, <<"plain">>, []}, get_text_plain}], Req, State}. - -get_text_plain(Req, State) -> - {<<"This is REST!">>, Req, State}. |