# File lib/kwala/notifications/rss.rb, line 24
    def initialize(result_hash, timestamp)
      @filename = result_hash[:file_name]
      @errors = result_hash[:sys_errors]
      @warnings = result_hash[:warnings]
      @first_seen = @last_seen = timestamp

      @test_results = Hash.new
      result_hash[:version].each do |r|
        if !r[:test_results].empty?
          @test_results[r[:version_name]] = r[:test_results]
        end
      end
    end