mirror of
https://github.com/wahyd4/dingtalk.git
synced 2026-08-19 01:36:28 +10:00
Add get_by_mobile api
This commit is contained in:
@@ -9,6 +9,10 @@ module Dingtalk
|
||||
http_get("get?access_token=#{access_token}&userid=#{userid}")
|
||||
end
|
||||
|
||||
def get_by_mobile(mobile)
|
||||
http_get("get?access_token=#{access_token}&mobile=#{mobile}")
|
||||
end
|
||||
|
||||
private
|
||||
def base_url
|
||||
'user'
|
||||
|
||||
Reference in New Issue
Block a user