Sha256: b9d549c5aab4262f780351e7c149eab4332c1a1451f8a1269afe1ce07c3dffb9
Contents?: true
Size: 454 Bytes
Versions: 14
Compression:
Stored size: 454 Bytes
Contents
module Fog module Compute class RackspaceV2 class Real def rebuild_server(server_id, image_id) data = { 'rebuild' => { 'imageRef' => image_id } } request( :body => Fog::JSON.encode(data), :expects => [202], :method => 'POST', :path => "servers/#{server_id}/action" ) end end end end end
Version data entries
14 entries across 14 versions & 7 rubygems