NAME

WebService::Gyazo::Image - gyazo.com image object

SYNOPSIS

my $image = WebService::Gyazo::Image->new(id => '111111111111');
print "Gyazo url: ".$image->getSiteUrl."\n";
print "Absolute url: ".$image->getImageUrl."\n";
print "Image id: ".$image->getImageId."\n";

DESCRIPTION

WebService::Gyazo::Image helps you if you use WebService::Gyazo.

METHODS

new

my $imageId = '1111111111111111';
my $image = WebService::Gyazo::Image->new(id => $imageId);

Constructs a new WebService::Gyazo::Image object.

getSiteUrl

This method return string like this: http://gyazo.com/1111111111111111

getImageUrl

This method return string like this: http://gyazo.com/1111111111111111.png

getImageId

This method return string like this: 1111111111111111

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc WebService::Gyazo::Image

SEE ALSO

WebService::Gyazo.

AUTHOR

SHok, <shok at cpan.org> (http://nig.org.ua/)

COPYRIGHT

Copyright 2013-2014 by SHok

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