Class: Kintone::Command::BulkRequest

Inherits:
Kintone::Command show all
Defined in:
lib/kintone/command/bulk_request.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Kintone::Command

#initialize

Constructor Details

This class inherits a constructor from Kintone::Command

Class Method Details

.pathObject



4
5
6
# File 'lib/kintone/command/bulk_request.rb', line 4

def self.path
  'bulkRequest'
end

Instance Method Details

#request(requests) ⇒ Object



8
9
10
11
# File 'lib/kintone/command/bulk_request.rb', line 8

def request(requests)
  response = @api.post(@url, requests: requests)
  response['results']
end