Commit d244d53d87a97d6d88bdaf283a16562f3e1d5c38
1 parent
b1034954
Exists in
master
Add dingtalk micro app api
Showing
2 changed files
with
20 additions
and
0 deletions
Show diff stats
... | ... | @@ -0,0 +1,16 @@ |
1 | +module Dingtalk | |
2 | + module Api | |
3 | + class MicroApp < Base | |
4 | + def visible_scopes(agent_id) | |
5 | + http_post("visible_scopes?access_token=#{access_token}", { agentId: agent_id }) | |
6 | + end | |
7 | + | |
8 | + private | |
9 | + def base_url | |
10 | + 'microapp' | |
11 | + end | |
12 | + end | |
13 | + end | |
14 | +end | |
15 | + | |
16 | + | ... | ... |
lib/dingtalk/client.rb