Class: Kintone::Command::BulkRequest
- Inherits:
-
Kintone::Command
- Object
- Kintone::Command
- Kintone::Command::BulkRequest
- Defined in:
- lib/kintone/command/bulk_request.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Kintone::Command
Constructor Details
This class inherits a constructor from Kintone::Command
Class Method Details
.path ⇒ Object
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 |