Commit 697dc8e9100c8385da68a872ebf9abbb6d505d58

Authored by seandong
1 parent 1261dd81
Exists in master

ADD: attendance api

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
1 module Dingtalk 1 module Dingtalk
2 - VERSION = "0.1.1" 2 + VERSION = "0.1.2"
3 end 3 end