NAME

MojoMojo::Schema::ResultSet::Attachment

METHODS

create_from_file (page, filename, storage_callback)

Create an instance from a given file. Takes a filename, a page to attach to, and a storage callback. The storage callback will be called with a full path to where the file should be stored.

AUTHOR

Marcus Ramberg <mramberg@cpan.org>

LICENSE

This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.