Rupert Lane > App-Zapzi > App::Zapzi::Roles::Distributor

Download:
App-Zapzi-0.013.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.013   Source  

NAME ^

App::Zapzi::Roles::Distributor - role definition for distributor modules

VERSION ^

version 0.013

DESCRIPTION ^

This defines the distributor role for Zapzi. Distributors take a published eBook and send it somewhere else, eg copy to a reader, send by email, run a script on it.

ATTRIBUTES ^

file

eBook file to distribute.

destination

Where to send the file, eg another directory or an email address

completion_message

Message from the distributer after completion - should be set in both error and success cases.

ATTRIBUTES ^

REQUIRED METHODS ^

name

Name of distributor visible to user.

distribute

Distribute the file. Returns 1 if OK, undef if failed.

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: