Module: Dingtalk::Api::User

Included in:
Client
Defined in:
lib/dingtalk/api/user.rb

Instance Method Summary collapse

Instance Method Details

#user_simplelist(department_id, opt = {}) ⇒ Object



4
5
6
7
# File 'lib/dingtalk/api/user.rb', line 4

def user_simplelist(department_id, opt={})
  simplelist_url = "#{user_base_url}/simplelist"
  http_get(simplelist_url, opt.merge(department_id: department_id))
end