class Rails::Ding::UserService
Public Class Methods
get(accessToken, userId)
click to toggle source
# File lib/rails/ding/user_service.rb, line 10 def self.get(accessToken, userId) response = HttpService.get("/user/get", {access_token: accessToken, userid: userId}); return response; end
getUserInfo(accessToken, code)
click to toggle source
# File lib/rails/ding/user_service.rb, line 5 def self.getUserInfo(accessToken, code) response = HttpService.get("/user/getuserinfo", {access_token: accessToken, code: code}); return response; end
list(accessToken,deptId)
click to toggle source
# File lib/rails/ding/user_service.rb, line 20 def self.list(accessToken,deptId) response = HttpService.get("/user/list", {access_token: accessToken,department_id: deptId}) return response end
simplelist(accessToken,deptId)
click to toggle source
# File lib/rails/ding/user_service.rb, line 15 def self.simplelist(accessToken,deptId) response = HttpService.get("/user/simplelist", {access_token: accessToken,department_id: deptId}); return response; end