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

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

      if result.response.code.to_i == 200
        return result["data"][0] 
      else
        nil
      end 
    end
def get_chat_room_info(room_id) 
      token =    self.auth_token()

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

      if result.response.code.to_i == 200
        return result["data"][0] 
      else
        nil
      end 
    end
获取聊天室基本信息