NAME

WebService::SendGrid::Newsletter::Recipients

VERSION

version 0.01

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 recipients list to the newsletter.

Parameters:

  • name

    (Required) The name of newsletter.

  • list

    (Required) The name of existing list to assign to newsletter.

get

Retrieves all recipient lists assigned to specified newsletter.

Parameters:

  • name

    (Required) The name of newsletter to retrieve lists.

delete

Removes recipients list from the newsletter.

Parameters:

  • name

    (Required) The name of existing newsletter to be unassinged.

  • list

    (Required) The name of specific list be removed from newsletter.

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.