App::Zapzi::Distribute - distribute published eBooks to a destination
This class takes a published eBook and distributes it. The distribution method can either be set in the class attributes (eg coming from the command line) or via config variables. Default if neither is set is to not distribute the eBook further.
Completed eBook file to distribute.
Method to distribute file. If set, must be one of the defined Distributer roles.
Where to send the file to. The distribution role will validate this.
Message from the distributer after completion - should be set in both error and success cases, but blank if no distributer has been invoked.
Distributes the file according to the method set on the class or the default configured distribution. Returns 1 if OK (including no distributor defined), undef on failure.
Rupert Lane <email@example.com>
This software is copyright (c) 2015 by Rupert Lane.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.