module BatchRequestClient
Constants
- VERSION
Public Class Methods
create(array_objects, url, mode = nil)
click to toggle source
# File lib/batch_request_client.rb, line 11 def self.create(array_objects, url, mode = nil) uri = URI.parse(url) batch_url = get_batch_url(uri, mode) payload = create_payload(array_objects, 'POST', uri.path) response = RestClient.post(batch_url, payload, headers) JSON.parse(response)['responses']['response'] end
Public Instance Methods
delete()
click to toggle source
# File lib/batch_request_client.rb, line 23 def delete raise NotImplementedError end
update()
click to toggle source
# File lib/batch_request_client.rb, line 19 def update raise NotImplementedError end