| 1 | package Net::isoHunt::Response::Item; | ||
| 2 | 2 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 2 | $Net::isoHunt::Response::Item::VERSION = '0.102770'; | |
| 4 | } | ||
| 5 | |||
| 6 | # ABSTRACT: Provides accessors to item fields | ||
| 7 | |||
| 8 | 2 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | 2 | has [ | |
| 11 | qw{ | ||
| 12 | title | ||
| 13 | link | ||
| 14 | enclosure_url | ||
| 15 | tracker | ||
| 16 | tracker_url | ||
| 17 | kws | ||
| 18 | exempts | ||
| 19 | category | ||
| 20 | original_site | ||
| 21 | original_link | ||
| 22 | size | ||
| 23 | hash | ||
| 24 | pub_date | ||
| 25 | } | ||
| 26 | ] => ( | ||
| 27 | is => 'ro', | ||
| 28 | isa => 'Str', | ||
| 29 | ); | ||
| 30 | |||
| 31 | 2 | has [ | |
| 32 | qw{ | ||
| 33 | guid | ||
| 34 | length | ||
| 35 | files | ||
| 36 | seeds | ||
| 37 | leechers | ||
| 38 | downloads | ||
| 39 | votes | ||
| 40 | comments | ||
| 41 | } | ||
| 42 | ] => ( | ||
| 43 | is => 'ro', | ||
| 44 | isa => 'Int', | ||
| 45 | ); | ||
| 46 | |||
| 47 | 2 | __PACKAGE__->meta()->make_immutable(); | |
| 48 | |||
| 49 | 2 | ▶ | no Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 50 | |||
| 51 | 2 | 1; | |
| 52 | |||
| 53 | |||
| 54 | |||
| 55 | =pod | ||
| 56 | |||
| 57 | =head1 NAME | ||
| 58 | |||
| 59 | Net::isoHunt::Response::Item - Provides accessors to item fields | ||
| 60 | |||
| 61 | =head1 VERSION | ||
| 62 | |||
| 63 | version 0.102770 | ||
| 64 | |||
| 65 | =head1 ATTRIBUTES | ||
| 66 | |||
| 67 | =head2 C<title> | ||
| 68 | |||
| 69 | =head2 C<link> | ||
| 70 | |||
| 71 | =head2 C<guid> | ||
| 72 | |||
| 73 | =head2 C<enclosure_url> | ||
| 74 | |||
| 75 | =head2 C<length> | ||
| 76 | |||
| 77 | =head2 C<tracker> | ||
| 78 | |||
| 79 | =head2 C<tracker_url> | ||
| 80 | |||
| 81 | =head2 C<kws> | ||
| 82 | |||
| 83 | =head2 C<exempts> | ||
| 84 | |||
| 85 | =head2 C<category> | ||
| 86 | |||
| 87 | =head2 C<original_site> | ||
| 88 | |||
| 89 | =head2 C<original_link> | ||
| 90 | |||
| 91 | =head2 C<size> | ||
| 92 | |||
| 93 | =head2 C<files> | ||
| 94 | |||
| 95 | =head2 C<seeds> | ||
| 96 | |||
| 97 | =head2 C<leechers> | ||
| 98 | |||
| 99 | =head2 C<downloads> | ||
| 100 | |||
| 101 | =head2 C<votes> | ||
| 102 | |||
| 103 | =head2 C<comments> | ||
| 104 | |||
| 105 | =head2 C<hash> | ||
| 106 | |||
| 107 | =head2 C<pub_date> | ||
| 108 | |||
| 109 | =head1 AUTHOR | ||
| 110 | |||
| 111 | Alan Haggai Alavi <alanhaggai@alanhaggai.org> | ||
| 112 | |||
| 113 | =head1 COPYRIGHT AND LICENSE | ||
| 114 | |||
| 115 | This software is copyright (c) 2010 by Alan Haggai Alavi. | ||
| 116 | |||
| 117 | This is free software; you can redistribute it and/or modify it under | ||
| 118 | the same terms as the Perl 5 programming language system itself. | ||
| 119 | |||
| 120 | =cut | ||
| 121 | |||
| 122 | |||
| 123 | __END__ | ||