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

Version Path
wework-next-1.2.6 lib/wework/api/methods/approval.rb
wework-1.2.8 lib/wework/api/methods/approval.rb
wework-1.2.5 lib/wework/api/methods/approval.rb
wework-1.2.3 lib/wework/api/methods/approval.rb
wework-1.2.2 lib/wework/api/methods/approval.rb
wework-1.2.1 lib/wework/api/methods/approval.rb
wework-1.2.0 lib/wework/api/methods/approval.rb
wework-1.1.9 lib/wework/api/methods/approval.rb
wework-1.1.8 lib/wework/api/methods/approval.rb
wework-1.1.7 lib/wework/api/methods/approval.rb
wework-1.1.6 lib/wework/api/methods/approval.rb
wework-1.1.5 lib/wework/api/methods/approval.rb
wework-1.1.3 lib/wework/api/methods/approval.rb
wework-1.1.2 lib/wework/api/methods/approval.rb
wework-1.1.1 lib/wework/api/methods/approval.rb
wework-1.1.0 lib/wework/api/methods/approval.rb