Rupert Lane > App-Zapzi > App::Zapzi::Distribute

Download:
App-Zapzi-0.013.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.013   Source  

NAME ^

App::Zapzi::Distribute - distribute published eBooks to a destination

VERSION ^

version 0.013

DESCRIPTION ^

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.

ATTRIBUTES ^

file

Completed eBook file to distribute.

method

Method to distribute file. If set, must be one of the defined Distributer roles.

destination

Where to send the file to. The distribution role will validate this.

completion_message

Message from the distributer after completion - should be set in both error and success cases, but blank if no distributer has been invoked.

METHODS ^

distribute

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.

AUTHOR ^

Rupert Lane <rupert@rupert-lane.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2014 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.

syntax highlighting: