Commit e972b56ea5c9975bd621195ac85cd6ab1cc66338

Authored by Jeff Lai
1 parent c32545d4
Exists in master

Add more user apis

Showing 1 changed file with 4 additions and 0 deletions   Show diff stats
lib/dingtalk/api/user.rb
@@ -22,6 +22,10 @@ module Dingtalk @@ -22,6 +22,10 @@ module Dingtalk
22 http_post("create?access_token=#{access_token}", params) 22 http_post("create?access_token=#{access_token}", params)
23 end 23 end
24 24
  25 + def update(params)
  26 + http_post("update?access_token=#{access_token}", params)
  27 + end
  28 +
25 private 29 private
26 def base_url 30 def base_url
27 'user' 31 'user'