package CloudApp::REST::Item::Image; use Moose; use MooseX::Types::URI qw(Uri); =head1 NAME CloudApp::REST::Item::Image - Image item class of CloudApp::REST =cut has item_type => (is => 'ro', required => 1, isa => 'Str', default => 'image',); has remote_url => (is => 'ro', required => 1, isa => Uri, coerce => 1); with 'CloudApp::REST::Item'; =head1 SYNOPSIS Image item class of CloudApp::REST. =head1 ATTRIBUTES See L for common attributes and methods of all items. The attributes listed here are only accessible for image items. =head2 remote_url This seems to be the same as the L. Returns an L instance. Although most of the items has a remote_url, this attribute is item specific. =head1 SEE ALSO L L =head1 AUTHOR Matthias Dietrich, C<< >> L =head1 LICENSE AND COPYRIGHT Copyright 2010 Matthias Dietrich. This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License. See http://dev.perl.org/licenses/ for more information. =cut __PACKAGE__->meta->make_immutable;