diff options
author | Olivier Thauvin <nanardon@mageia.org> | 2010-09-27 10:51:18 +0000 |
---|---|---|
committer | Olivier Thauvin <nanardon@mageia.org> | 2010-09-27 10:51:18 +0000 |
commit | 7c16f1d36bd584c36f187bd0401fb39e94771765 (patch) | |
tree | 2bf89b42bc81f1d4b4f8c557a717cbc25d446195 /lib/MGA/Mirrors/Model/Mirrors.pm | |
parent | 57beda663bb4448ad838b599e5df5bf50375a5cb (diff) | |
download | mgamirrors-7c16f1d36bd584c36f187bd0401fb39e94771765.tar mgamirrors-7c16f1d36bd584c36f187bd0401fb39e94771765.tar.gz mgamirrors-7c16f1d36bd584c36f187bd0401fb39e94771765.tar.bz2 mgamirrors-7c16f1d36bd584c36f187bd0401fb39e94771765.tar.xz mgamirrors-7c16f1d36bd584c36f187bd0401fb39e94771765.zip |
- code base
Diffstat (limited to 'lib/MGA/Mirrors/Model/Mirrors.pm')
-rw-r--r-- | lib/MGA/Mirrors/Model/Mirrors.pm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/lib/MGA/Mirrors/Model/Mirrors.pm b/lib/MGA/Mirrors/Model/Mirrors.pm new file mode 100644 index 0000000..c1e1852 --- /dev/null +++ b/lib/MGA/Mirrors/Model/Mirrors.pm @@ -0,0 +1,33 @@ +package MGA::Mirrors::Model::Mirrors; +use Moose; +use namespace::autoclean; + +extends 'MGA::Mirrors::DB', 'Catalyst::Model'; + +=head1 NAME + +MGA::Mirrors::Model::Mirrors - Catalyst Model + +=head1 DESCRIPTION + +Catalyst Model. + +=head1 AUTHOR + +Olivier Thauvin + +=head1 LICENSE + +This library is free software. You can redistribute it and/or modify +it under the same terms as Perl itself. + +=cut + +sub new { + my ($class) = @_; + return bless(MGA::Mirrors::DB->new(), $class); +} + +__PACKAGE__->meta->make_immutable(inline_constructor => 0); + +1; |