diff options
author | Paul Duncan <pabs@pablotron.org> | 2016-03-06 18:08:34 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2016-03-06 18:08:34 -0500 |
commit | b89d53220afee70a991fe8c3ec694e32f1954ea0 (patch) | |
tree | ce65990beca3d70ca81b438048aaf0f5997f29e3 /src/guff/post-model.cr | |
parent | 5771ff1b239f8452a718cebcc2cf8ae49a93b3a9 (diff) | |
download | old-guff-b89d53220afee70a991fe8c3ec694e32f1954ea0.tar.bz2 old-guff-b89d53220afee70a991fe8c3ec694e32f1954ea0.zip |
populate postmodel stubs
Diffstat (limited to 'src/guff/post-model.cr')
-rw-r--r-- | src/guff/post-model.cr | 19 |
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 |