# File lib/clouddb/instance.rb, line 227 def restart() body = Hash.new body[:restart] = Hash.new response = @connection.dbreq("POST", @dbmgmthost, "#{@dbmgmtpath}/instances/#{CloudDB.escape(@id.to_s)}/action", @dbmgmtport, @dbmgmtscheme, {}, body.to_json) CloudDB::Exception.raise_exception(response) unless response.code.to_s.match(/^20.$/) true end