    # File lib/fog/aws/parsers/elasticache/event_list.rb, line 22
              def end_element(name)
                case name
                when 'Date'
                  @event[name] = DateTime.parse(value.strip)
                when 'Message', 'SourceIdentifier', 'SourceType'
                  @event[name] = value ? value.strip : name
                when 'Event'
                  @response['Events'] << @event unless @event.empty?
                else
                  super
                end
              end