Sha256: ef7a8e21865015577b9ce49999557dec97a58f170dbd4f58c4f9da2b53fa92fb
Contents?: true
Size: 560 Bytes
Versions: 4
Compression:
Stored size: 560 Bytes
Contents
module Fog module Compute class Gridscale class Real def server_power_on(server_uuid) body = { :power => true } encoded_body = Fog::JSON.encode(body) request( :expects => [204], :headers => { 'Content-Type' => "application/json; charset=UTF-8", }, :method => 'PATCH', :path => "/objects/servers/#{server_uuid}/power", :body => encoded_body, ) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems