Michał Wojciechowski
and 2 contributors

NAME

WebService::SendGrid::Newsletter::Lists

VERSION

version 0.02

METHODS

new

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

    my $lists = WebService::SendGrid::Newsletter::Lists->new(sgn => $sgn);

Parameters:

  • sgn

    An instance of WebService::SendGrid::Newsletter.

add

Creates a new recipient list.

Parameters:

  • list

    (Required) The name of the new recipient list.

  • name

    The name of the column for the name associated with email address.

get

Retrieves all recipient lists or checks if a specific list exists.

Parameters:

  • list

    The name of the list to retrieve.

edit

Renames a list.

Parameters:

  • list

    (Required) The existing name of the list.

  • newlist

    (Required) The new name for the list.

delete

Deletes a list.

Parameters:

  • list

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

email

Returns an instance of WebService::SendGrid::Newsletter::Lists::Email.

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.