From e972b56ea5c9975bd621195ac85cd6ab1cc66338 Mon Sep 17 00:00:00 2001 From: Jeff Lai Date: Mon, 13 Jun 2016 16:59:58 +0800 Subject: [PATCH] Add more user apis --- lib/dingtalk/api/user.rb | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) diff --git a/lib/dingtalk/api/user.rb b/lib/dingtalk/api/user.rb index f7659c6..ae526fd 100644 --- a/lib/dingtalk/api/user.rb +++ b/lib/dingtalk/api/user.rb @@ -22,6 +22,10 @@ module Dingtalk http_post("create?access_token=#{access_token}", params) end + def update(params) + http_post("update?access_token=#{access_token}", params) + end + private def base_url 'user' -- libgit2 0.21.0