PutOptionsProcessor

PutOptionsProcessor

new PutOptionsProcessor()

The processor for put actions.

Methods

data(data)

Set the data to post
Parameters:
Name Type Description
data object The data object
Example
x.data({
   firstName: 'John',
   lastName: 'Smith'
})

query(query)

Set the query
Parameters:
Name Type Description
query object The query object
Example
x.query({
   firstName: 'John',
   lastName: 'Smith'
})