aboutsummaryrefslogtreecommitdiff
path: root/src/guff/api/methods.cr
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-03-15 00:11:28 -0400
committerPaul Duncan <pabs@pablotron.org>2016-03-15 00:11:28 -0400
commit9ebc1a57335e3b183be9a0494cdc377a19219222 (patch)
tree1a38b83945320c5c19a26c7b652315e8a1897dea /src/guff/api/methods.cr
parentcf34c28f84b9c47bdd03cf8011a5c40495c2b289 (diff)
downloadold-guff-9ebc1a57335e3b183be9a0494cdc377a19219222.tar.bz2
old-guff-9ebc1a57335e3b183be9a0494cdc377a19219222.zip
initial session support
Diffstat (limited to 'src/guff/api/methods.cr')
-rw-r--r--src/guff/api/methods.cr8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/guff/api/methods.cr b/src/guff/api/methods.cr
index 0247460..8df48d5 100644
--- a/src/guff/api/methods.cr
+++ b/src/guff/api/methods.cr
@@ -357,6 +357,14 @@ module Guff
"set_user": {
text: "Set mock user",
+
+ args: {
+ "user_id": {
+ text: "ID of user",
+ type: :int,
+ required: true,
+ },
+ },
},
}
}