NAME

WebService::SendGrid::Newsletter::Recipients

VERSION

version 0.02

METHODS

new

Creates a new instance of WebService::SendGrid::Newsletter::Recipients.

my $recipients = WebService::SendGrid::Newsletter::Recipients->new(sgn => $sgn);

Parameters:

  • sgn

    An instance of WebService::SendGrid::Newsletter.

add

Assigns a recipients list to a newsletter.

Parameters:

  • name

    (Required) The name of the newsletter.

  • list

    (Required) The name of the recipients list.

get

Retrieves all recipient lists assigned to the specified newsletter.

Parameters:

  • name

    (Required) The name of the newsletter for which to retrieve lists.

delete

Removes a recipient list from the specified newsletter.

Parameters:

  • name

    (Required) The name of the newsletter from which to remove the list.

  • list

    (Required) The name of the list to be removed.

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.