NAME
Mojolicious::Plugin::Images::Service::Origin
VERSION
version 0.002
SYNOPSIS
my $origin = $c->images->origin;
DESCRIPTION
A service for images that are origins of others and can be written from uploads. Inherits all objects from Mojolicious::Plugin::Images::Service and implements the following new ones
ATTRIBUTES
from
A moniker to the parent object
METHODS
upload ($self, $id, $upload_or_name)
Save image from Mojo::Upload object or finds an upload in the controller
$img = $origin->upload('image');
$img = $origin->upload($controller->req->upload('image'));
read ($self, $id)
Reads an object and tries to syncronize it if not exists yet
AUTHOR
alexbyk <alexbyk@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by alexbyk.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.