# This code is part of Perl distribution User-Identity version 1.03.
# The POD got stripped from this file by OODoc version 3.05.
# For contributors see file ChangeLog.

# This software is copyright (c) 2003-2025 by Mark Overmeer.

# This is free software; you can redistribute it and/or modify it under
# the same terms as the Perl 5 programming language system itself.
# SPDX-License-Identifier: Artistic-1.0-Perl OR GPL-1.0-or-later

#oodist: *** DO NOT USE THIS VERSION FOR PRODUCTION ***
#oodist: This file contains OODoc-style documentation which will get stripped
#oodist: during its release in the distribution.  You can use this file for
#oodist: testing, however the code of this development version may be broken!

package User::Identity::Collection::Emails;{
our $VERSION = '1.03';
}

use base 'User::Identity::Collection';

use strict;
use warnings;

use Mail::Identity;

#--------------------

sub new(@)
{	my $class = shift;
	$class->SUPER::new(name => 'emails', @_);
}

sub init($)
{	my ($self, $args) = @_;
	$args->{item_type} ||= 'Mail::Identity';
	$self->SUPER::init($args);
}

sub type() { 'mailgroup' }

1;
