- ->new ( %hash )
- ->is_member( $member )
- ->add_member( $member )
- ->remove_member( $member )
- ->plugins( [ $queue ] )
- ->add_plugin( $queue => $plugin ) =head2 ->add_plugin( $queue => $plugin, $position )
- ->set_plugins( $queue => @plugins)
- ->alias [app name]
Siesta::List - manipulate a list
the short name of the list
the owner (a Siesta::Member)
the email address that people post to send to this list.
the email address that bounces should come back to
all of the Siesta::Members subscribed to this list
all of the preferences associated with this list
Returns true or false depending if member is a member of this list. This can take either a Member object or an email address.
Adds a member to a list. This can take either a Member object or an email address.
Removes a member from a list. This can take either a Member object or an email address.
Returns a list of all the members in the list (as Member objects)
Returns a list of all processing queues associated with this list.
Returns a list of all the plugins for a list (as Plugin objects).
Add a plugin to this lists processing queue $queue.
$position is optional, and indiates the new index of the plugin.
Set the plugin processing queue for this list.
Returns a string which is can be used as an alias to post to a list. If you pass in an app name then it will use that in the description as
created by <app name>
NB assumes that the path to 'tequila' is the same as the path of the script calling the method. This may be broken.