NAME
WebService::SendGrid::Newsletter::Lists::Email
VERSION
version 0.02
METHODS
new
Creates a new instance of WebService::SendGrid::Newsletter::Lists::Email.
my $email = WebService::SendGrid::Newsletter::Lists::Email->new(
sgn => $sgn
);
Parameters:
sgn
An instance of WebService::SendGrid::Newsletter.
add
Adds one or more emails to a recipient list.
Parameters:
list
(Required) The name of the list to which to add the email address.
data
(Required) A reference to an array or a hash that specifies the name, email address, and additional fields to add to the specified recipient list.
AUTHOR
Michal Wojciechowski <odyniec@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Michal Wojciechowski.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.