NAME
App::SpreadRevolutionaryDate - Spread date and time from Revolutionary (Republican) Calendar on Twitter, Mastodon and Freenode.
VERSION
version 0.08
METHODS
new
Constructor class method. Takes one optional argument: $filename
which should be the file path of, or an opened file handle on your configuration file, defaults to ~/.config/spread-revolutionary-date/spread-revolutionary-date.conf
or ~/.spread-revolutionary-date.conf
. This is only used for testing, when custom configuration file is needed. You can safely leave this optional argument unset. Returns an App::SpreadRevolutionaryDate
object.
BUILD
Initialises the internal App::SpreadRevolutionaryDate
object. This is where all targets objets are built, and authentication is attempted on each of them.
spread
Spreads calendar date to configured targets. Takes no argument.
compute
Computes revolutionary date. Takes no argument. Returns message as string, ready to be spread.
SEE ALSO
- spread-revolutionary-date
- App::SpreadRevolutionaryDate::Config
- App::SpreadRevolutionaryDate::Target
- App::SpreadRevolutionaryDate::Target::Twitter
- App::SpreadRevolutionaryDate::Target::Mastodon
- App::SpreadRevolutionaryDate::Target::Freenode
- App::SpreadRevolutionaryDate::Target::Freenode::Bot
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