lib/predictionio/event_client.rb
# :category: Asynchronous Methods
# Asynchronously request to create a batch of event and return a
# PredictionIO::AsyncResponse object immediately.
#
# Corresponding REST API method: POST /batch/events.json
#
# See also #acreate_event.
:category: Asynchronous Methods
Asynchronously request to create a batch of event and return a
PredictionIO::AsyncResponse object immediately.

Corresponding REST API method: POST /batch/events.json


: category : Asynchronous Methods Asynchronously request to create a batch of event and return a PredictionIO :: AsyncResponse object immediately . Corresponding REST API method : POST / batch / events . json
def acreate_batch_event(payload)
      @http.apost(PredictionIO::AsyncRequest.new(
        "/batch/events.json?accessKey=#{@access_key}", payload.to_json
      ))
    end
def acreate_batch_event ( payload ) @http . apost ( PredictionIO :: AsyncRequest . new ( "/batch/events.json?accessKey=#{@access_key}" , payload . to_json ) ) end
:category: Asynchronous Methods
Asynchronously request to create a batch of event and return a
PredictionIO::AsyncResponse object immediately.
: category : Asynchronous Methods Asynchronously request to create a batch of event and return a PredictionIO :: AsyncResponse object immediately .
payload
<not_specific>