Sha256: 0f4b38441021671250d2442eda28076b586a1d2141d3ec8cf3d4ced122cbc81c
Contents?: true
Size: 762 Bytes
Versions: 4
Compression:
Stored size: 762 Bytes
Contents
module Fog module Compute class Gridscale class Real def paas_service_create(name, paas_service_template_uuid, options = {}) create_options = { :name => name, :paas_service_template_uuid => paas_service_template_uuid, } create_options[:labels] = options[:labels] || [] encoded_body = Fog::JSON.encode(create_options) request( :expects => [202], :headers => { 'Content-Type' => "application/json; charset=UTF-8", }, :method => 'POST', :path => '/objects/paas/services', :body => encoded_body, ) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems