Commit 697dc8e9100c8385da68a872ebf9abbb6d505d58
1 parent
1261dd81
Exists in
master
ADD: attendance api
Showing
2 changed files
with
10 additions
and
4 deletions
Show diff stats
lib/dingtalk/api/attendance.rb
@@ -5,10 +5,16 @@ module Dingtalk | @@ -5,10 +5,16 @@ module Dingtalk | ||
5 | http_post("list?access_token=#{access_token}", params) | 5 | http_post("list?access_token=#{access_token}", params) |
6 | end | 6 | end |
7 | 7 | ||
8 | + def list_record(params) | ||
9 | + http_post("listRecord?access_token=#{access_token}", params) | ||
10 | + end | ||
11 | + | ||
8 | private | 12 | private |
9 | - def base_url | ||
10 | - 'attendance' | ||
11 | - end | 13 | + |
14 | + def base_url | ||
15 | + 'attendance' | ||
16 | + end | ||
17 | + | ||
12 | end | 18 | end |
13 | end | 19 | end |
14 | end | 20 | end |
lib/dingtalk/version.rb