| 1 | package Net::isoHunt::Response::Image; | ||
| 2 | 2 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 2 | $Net::isoHunt::Response::Image::VERSION = '0.102770'; | |
| 4 | } | ||
| 5 | |||
| 6 | # ABSTRACT: Provides accessors to image fields | ||
| 7 | |||
| 8 | 2 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | 2 | has [ | |
| 11 | qw{ | ||
| 12 | title | ||
| 13 | url | ||
| 14 | link | ||
| 15 | } | ||
| 16 | ] => ( | ||
| 17 | is => 'ro', | ||
| 18 | isa => 'Str', | ||
| 19 | ); | ||
| 20 | |||
| 21 | 2 | has [ | |
| 22 | qw{ | ||
| 23 | width | ||
| 24 | height | ||
| 25 | } | ||
| 26 | ] => ( | ||
| 27 | is => 'ro', | ||
| 28 | isa => 'Int', | ||
| 29 | ); | ||
| 30 | |||
| 31 | 2 | __PACKAGE__->meta()->make_immutable(); | |
| 32 | |||
| 33 | 2 | ▶ | no Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 34 | |||
| 35 | 2 | 1; | |
| 36 | |||
| 37 | |||
| 38 | |||
| 39 | =pod | ||
| 40 | |||
| 41 | =head1 NAME | ||
| 42 | |||
| 43 | Net::isoHunt::Response::Image - Provides accessors to image fields | ||
| 44 | |||
| 45 | =head1 VERSION | ||
| 46 | |||
| 47 | version 0.102770 | ||
| 48 | |||
| 49 | =head1 ATTRIBUTES | ||
| 50 | |||
| 51 | =head2 C<title> | ||
| 52 | |||
| 53 | =head2 C<url> | ||
| 54 | |||
| 55 | =head2 C<link> | ||
| 56 | |||
| 57 | =head2 C<width> | ||
| 58 | |||
| 59 | =head2 C<height> | ||
| 60 | |||
| 61 | =head1 AUTHOR | ||
| 62 | |||
| 63 | Alan Haggai Alavi <alanhaggai@alanhaggai.org> | ||
| 64 | |||
| 65 | =head1 COPYRIGHT AND LICENSE | ||
| 66 | |||
| 67 | This software is copyright (c) 2010 by Alan Haggai Alavi. | ||
| 68 | |||
| 69 | This is free software; you can redistribute it and/or modify it under | ||
| 70 | the same terms as the Perl 5 programming language system itself. | ||
| 71 | |||
| 72 | =cut | ||
| 73 | |||
| 74 | |||
| 75 | __END__ | ||