Module: Inner::User
- Included in:
- Dingtalk::Api::Normal
- Defined in:
- app/apis/dingtalk/api/inner/user.rb
Constant Summary collapse
- BASE =
'https://oapi.dingtalk.com/'
Instance Method Summary collapse
Instance Method Details
#getuserinfo(code) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'app/apis/dingtalk/api/inner/user.rb', line 5 def getuserinfo(code) r = post 'topapi/v2/user/getuserinfo', code: code if r.is_a? Hash r['result'] else r end end |