aboutsummaryrefslogtreecommitdiff
path: root/src/guff/post-model.cr
diff options
context:
space:
mode:
Diffstat (limited to 'src/guff/post-model.cr')
-rw-r--r--src/guff/post-model.cr19
1 files changed, 19 insertions, 0 deletions
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