def delete_chat_room(room_id)
      token =    self.auth_token()

      result = HTTParty.delete("#{@head_url}/chatrooms/#{room_id}", 
          :headers => { 'Content-Type' => 'application/json', 'Authorization'=>"Bearer #{token}" } )

      if result.response.code.to_i == 200
        return [result["data"]["id"], result["data"]["success"]]
      else
        nil
      end 
    end
def delete_chat_room(room_id)
      token =    self.auth_token()

      result = HTTParty.delete("#{@head_url}/chatrooms/#{room_id}", 
          :headers => { 'Content-Type' => 'application/json', 'Authorization'=>"Bearer #{token}" } )

      if result.response.code.to_i == 200
        return [result["data"]["id"], result["data"]["success"]]
      else
        nil
      end 
    end
删除一个聊天室