# create method for auto-generated S4 objects
#
# Author: brucehoff
###############################################################################
createS4Object<-function(object, createUri) {
objectAsList<-createListFromS4Object(object)
listResult<-synRestPOST(createUri, objectAsList)
objectResult<-createS4ObjectFromList(listResult, class(object))
objectResult
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.