Michał Wojciechowski
and 2 contributors

NAME

WebService::SendGrid::Newsletter::Schedule

VERSION

version 0.02

METHODS

new

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

    my $schedule = WebService::SendGrid::Newsletter::Schedule->new(sgn => $sgn);

Parameters:

  • sgn

    An instance of WebService::SendGrid::Newsletter.

add

Schedules a delivery time for an existing newsletter.

Parameters:

  • name

    (Required) The name of the newsletter to schedule delivery for.

  • at

    Date/time of the scheduled delivery (must be provided in the YYYY-MM-DDTHH:MM:SS+-HH:MM format).

  • after

    The number of minutes until delivery time (must be positive).

get

Retrieves the scheduled delivery time for an existing newsletter.

Parameters:

  • name

    (Required) The name of the newsletter for which to retrieve the scheduled delivery time.

delete

Removes a scheduled send for a newsletter.

Parameters:

  • name

    (Required) The name of the newsletter for which to remove the scheduled delivery time.

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.