CPAN-WWW-Top100-Retrieve

 view release on metacpan or  search on metacpan

lib/CPAN/WWW/Top100/Retrieve/Dist.pm  view on Meta::CPAN

#
# This file is part of CPAN-WWW-Top100-Retrieve
#
# This software is copyright (c) 2014 by Apocalypse.
#
# This is free software; you can redistribute it and/or modify it under
# the same terms as the Perl 5 programming language system itself.
#
use strict; use warnings;
# Declare our package
package CPAN::WWW::Top100::Retrieve::Dist;
$CPAN::WWW::Top100::Retrieve::Dist::VERSION = '1.001';
our $AUTHORITY = 'cpan:APOCAL';

# ABSTRACT: Describes a dist in the Top100

# import the Moose stuff
use Moose;
use MooseX::StrictConstructor 0.08;
use namespace::autoclean;

has 'type' => (
	isa		=> 'Str',
	is		=> 'ro',
	required	=> 1,
);

has 'dbid' => (
	isa		=> 'Int',
	is		=> 'ro',
	required	=> 1,
);

# Common to all types
has 'rank' => (
	isa		=> 'Int',
	is		=> 'ro',
	required	=> 1,
);

has 'author' => (
	isa		=> 'Str',
	is		=> 'ro',
	required	=> 1,
);

has 'dist' => (
	isa		=> 'Str',
	is		=> 'ro',
	required	=> 1,
);

has 'score' => (
	isa		=> 'Int',
	is		=> 'ro',
	required	=> 1,
);

# from Moose::Manual::BestPractices
no Moose;
__PACKAGE__->meta->make_immutable;

1;

__END__

=pod

=encoding UTF-8

=for :stopwords Apocalypse dbid dist debian

=head1 NAME

CPAN::WWW::Top100::Retrieve::Dist - Describes a dist in the Top100

=head1 VERSION

  This document describes v1.001 of CPAN::WWW::Top100::Retrieve::Dist - released November 06, 2014 as part of CPAN-WWW-Top100-Retrieve.



( run in 1.086 second using v1.01-cache-2.11-cpan-0bb4e1dffa6 )