server/lib/deltacloud/drivers/sbc/sbc_client.rb
#
# Creates an instance
#
# body is a name/value hash to configure the instance
#
Creates an instance
body is a name/value hash to configure the instance
Creates an instance body is a name / value hash to configure the instance
def create_instance(body)
    headers = default_headers
    headers['Content-Type'] = 'application/x-www-form-urlencoded'
    JSON.parse(post('/instances', urlencode(body), headers))['instances']
  end
def create_instance ( body ) headers = default_headers headers [ 'Content-Type' ] = 'application/x-www-form-urlencoded' JSON . parse ( post ( '/instances' , urlencode ( body ) , headers ) ) [ 'instances' ] end
Creates an instance
body is a name/value hash to configure the instance
Creates an instance body is a name / value hash to configure the instance
body
<not_specific>