Module: Dingtalk::EcoApi::Role

Included in:
Client
Defined in:
lib/dingtalk/eco_api/role.rb

Instance Method Summary collapse

Instance Method Details

#role_listObject



4
5
6
# File 'lib/dingtalk/eco_api/role.rb', line 4

def role_list
  http_get('dingtalk.corp.role.list', {method: 'dingtalk.corp.role.list'}, 'eco')
end

#role_simplelist(role_id) ⇒ Object



8
9
10
# File 'lib/dingtalk/eco_api/role.rb', line 8

def role_simplelist(role_id)
  http_get('dingtalk.corp.role.simplelist', {method: 'dingtalk.corp.role.simplelist', role_id: role_id}, 'eco')
end