Permalink
Browse files

add POD

  • Loading branch information...
1 parent 0eaf477 commit 240ef7d60f20b574e394bcb70880f7d374709e4c @fcuny fcuny committed Jul 9, 2009
Showing with 38 additions and 0 deletions.
  1. +38 −0 lib/CPANHQ/Storage/Requires.pm
@@ -5,6 +5,29 @@ use warnings;
use base qw( DBIx::Class );
+=head1 NAME
+
+CPANHQ::Storage::Requires - a class representing a CPAN dependencies
+
+=head1 SYNOPSIS
+
+ my $schema = CPANHQ->model("DB");
+
+ my $keywords_rs = $schema->resultset('Requires');
+
+ my $keyword = $keywords_rs->find({
+ dist_from => 1234,
+ });
+
+ print $keyword->dist_to->name();
+
+=head1 DESCRIPTION
+
+This is the requires schema class for L<CPANHQ>.
+
+=head1 METHODS
+
+=cut
__PACKAGE__->load_components( qw( Core ) );
__PACKAGE__->table( 'requires' );
@@ -28,4 +51,19 @@ __PACKAGE__->set_primary_key( 'id' );
__PACKAGE__->belongs_to( dist_from => 'CPANHQ::Storage::Distribution' );
__PACKAGE__->belongs_to( dist_to => 'CPANHQ::Storage::Distribution' );
+=head1 SEE ALSO
+
+L<CPANHQ::Storage>, L<CPANHQ>, L<DBIx::Class>
+
+=head1 AUTHOR
+
+Franck Cuny E<lt>franck@lumberjaph.netE<gt>
+
+=head1 LICENSE
+
+This library is free software, you can redistribute it and/or modify
+it under the same terms as Perl itself.
+
+=cut
+
1;

0 comments on commit 240ef7d

Please sign in to comment.