Sha256: a7a3c7ccda5180459f33055f76172ab1414b2b930d08a24346b765d18d97a15a
Contents?: true
Size: 420 Bytes
Versions: 16
Compression:
Stored size: 420 Bytes
Contents
require "erb" module Wework module Api module Methods module Approval def get_approval_data start_time, end_time, next_spnum=nil # https://work.weixin.qq.com/api/doc#11228 payload = {starttime: start_time, endtime: end_time} payload[:next_spnum] = next_spnum unless next_spnum.nil? post 'corp/getapprovaldata', payload end end end end end
Version data entries
16 entries across 16 versions & 2 rubygems