# File lib/fog/aws/parsers/elasticache/security_group_parser.rb, line 26
          def end_element(name)
            case name
            when 'Description', 'CacheSecurityGroupName', 'OwnerId'
              @security_group[name] = value
            when 'EC2SecurityGroup'
              @security_group["#{name}s"] << @ec2_group unless @ec2_group.empty?
            when 'EC2SecurityGroupName', 'EC2SecurityGroupOwnerId', 'Status'
              @ec2_group[name] = value
            end
          end