NAME

App::SpreadRevolutionaryDate::Mastodon - Subclass of App::SpreadRevolutionaryDate to handle spreading on Mastodon.

VERSION

version 0.02

METHODS

new

Constructor class method. Takes one mandatory argument: $config which should be an App::SpreadRevolutionaryDate::Config object. Authentifies to Mastodon and returns an App::SpreadRevolutionaryDate::Mastodon object.

spread

Spreads a message to Mastodon. Takes one mandatory argument: $msg which should be the message to spread as a characters string. If test option is set the message is printed on standard output and not spread on Mastodon.

AUTHOR

Gérald Sédrati-Dinet <gibus@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2019 by Gérald Sédrati-Dinet.

This is free software, licensed under:

The GNU General Public License, Version 3, June 2007