From b89d53220afee70a991fe8c3ec694e32f1954ea0 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sun, 6 Mar 2016 18:08:34 -0500 Subject: populate postmodel stubs --- src/guff/post-model.cr | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'src/guff/post-model.cr') diff --git a/src/guff/post-model.cr b/src/guff/post-model.cr index 20ccf22..e0e82a4 100644 --- a/src/guff/post-model.cr +++ b/src/guff/post-model.cr @@ -1,4 +1,23 @@ module Guff class PostModel < Model + def get_posts(req) + # TODO + [{foo: "bar"}, {foo: "asdf"}] + end + + def add_post(req) + # TODO: return post id + {ok: true} + end + + def remove_posts(req) + # TODO + {ok: true} + end + + def set_tags(req) + # TODO + {ok: true} + end end end -- cgit v1.2.3