# File lib/fog/slicehost/requests/compute/reboot_slice.rb, line 24 def reboot_slice(slice_id, type = 'SOFT') request( :expects => 200, :method => 'PUT', :parser => Fog::Parsers::Compute::Slicehost::GetSlice.new, :path => "/slices/#{slice_id}/#{'hard_' if type == 'HARD'}reboot.xml" ) end