<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">NAME
    Lego::Part::Image - Lego part image abstract class.

SYNOPSIS
     use Lego::Part::Image;
     my $obj = Lego::Part::Image-&gt;new;
     $obj-&gt;image;
     $obj-&gt;image_url;

METHODS
    *       "new()"

             Constructor.
             Returns object.

            *       "part"

                     Lego::Part object.
                     It is required.
                     Default value is undef.

    *       "image()"

             Abstract method for getting image.

    *       "image_url()"

             Abstract method for getting image url.

ERRORS
     new():
             Parameter 'part' is required.
             Parameter 'part' must be Lego::Part object.
             From Class::Utils::set_params():
                     Unknown parameter '%s'.

     image():
             This is abstract class. image() method not implemented.

     image_url():
             This is abstract class. image_url() method not implemented.

EXAMPLE
     # Pragmas.
     use strict;
     use warnings;

     # Modules.
     use Lego::Part;
     use Lego::Part::Image;

     # Error pure setting.
     $ENV{'ERROR_PURE_TYPE'} = 'Print';

     # Object.
     my $obj = Lego::Part::Image-&gt;new(
             'part' =&gt; Lego::Part-&gt;new(
                    'color' =&gt; 'red',
                    'design_id' =&gt; '3002',
             ),
     );

     # Get image.
     $obj-&gt;image;

     # Output:
     # Lego::Part::Image: This is abstract class. image() method not implemented.

DEPENDENCIES
    Class::Utils, Error::Pure, Readonly, Scalar::Util.

SEE ALSO
    Lego::Part::Image::PeeronCom, Lego::Part::Image::LegoCom,
    Lego::Part::Image::LugnetCom.

REPOSITORY
    &lt;https://github.com/tupinek/Lego-Part-Image&gt;

AUTHOR
    Michal إ&nbsp;paؤچek &lt;mailto:skim@cpan.org&gt;

    &lt;http://skim.cz&gt;

LICENSE AND COPYRIGHT
     آ© 2015 Michal إ&nbsp;paؤچek
     BSD 2-Clause License

VERSION
    0.01

</pre></body></html>