Rarbg-torrentapi

Perl Module to interact with https://torrentapi.org
git clone https://git.e1e0.net/Rarbg-torrentapi.git
Log | Files | Refs | README | LICENSE

Res.pm (886B)


      1 package Rarbg::torrentapi::Res;
      2 
      3 use strict;
      4 use 5.008_005;
      5 our $VERSION = 'v0.2.0';
      6 use Moose;
      7 
      8 has [qw( category download info_page pubdate )] => (
      9     is  => 'ro',
     10     isa => 'Str'
     11 );
     12 
     13 has title => (
     14     is  => 'ro',
     15     isa => 'Maybe[Str]'
     16 );
     17 
     18 has [qw( seeders leechers ranked size)] => (
     19     is  => 'ro',
     20     isa => 'Int'
     21 );
     22 
     23 has episode_info => (
     24     is      => 'ro',
     25     isa => 'Maybe[HashRef]'
     26 );
     27 
     28 no Moose;
     29 __PACKAGE__->meta->make_immutable;
     30 1;
     31 __END__
     32 
     33 =encoding utf-8
     34 
     35 =head1 NAME
     36 
     37 Rarbg::torrentapi::Res - Response class for Rarbg::torrentapi
     38 
     39 =head1 DESCRIPTION
     40 
     41 This is not meant to be used directly, see Rarbg::torrentapi
     42 
     43 =head1 AUTHOR
     44 
     45 Paco Esteban E<lt>paco@onna.beE<gt>
     46 
     47 =head1 COPYRIGHT
     48 
     49 Copyright 2015- Paco Esteban
     50 
     51 =head1 LICENSE
     52 
     53 This library is free software; you can redistribute it and/or modify
     54 it under the same terms as Perl itself.
     55 
     56 =head1 SEE ALSO
     57 
     58 =cut