NAME
Sietima::Role::WithOwner - role for lists with an owner
VERSION
version 1.1.2
SYNOPSIS
my $sietima = Sietima->with_traits('WithOwner')->new({
%args,
owner => 'listmaster@example.com',
});
DESCRIPTION
This role adds an "owner
" attribute, and exposes it via the list_addresses
method.
On its own, this role is not very useful, but other roles (like SubscriberOnly::Moderate
) can have uses for an owner address.
ATTRIBUTES
owner
Required instance of Email::Address
, coercible from a string. This is the address of the owner of the list.
MODIFIED METHODS
list_addresses
This method declares the owner
address.
AUTHOR
Gianni Ceccarelli <dakkar@thenautilus.net>
COPYRIGHT AND LICENSE
This software is copyright (c) 2023 by Gianni Ceccarelli <dakkar@thenautilus.net>.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.