NAME

WebService::SendGrid::Newsletter::Schedule

VERSION

version 0.01

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) Existing newsletter to schedule delivery for.

  • at

    Date/Time to schedule newsletter must be provided in format (YYYY-MM-DDTHH:MM:SS+-HH:MM).

  • after

    Positive number of minutes until devivery should occur.

get

Retrieves the scheduled delivery time for an existing newsletter.

Parameters:

  • name

    (Required) Specific existing newsletter to be retrieved the delivery time schedule.

delete

Removes a schedule send for a newsletter

Parameters:

  • name

    (Required) Existing newsletter to be removed schedule 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.