source: trunk/lib/Epoll/Model/Vote.pm @ 387

Last change on this file since 387 was 242, checked in by nanardon, 15 years ago
  • rename Vote module to Epoll (#16)
  • Property svn:keywords set to Id Rev
File size: 471 bytes
Line 
1package Epoll::Model::Vote;
2
3use strict;
4use warnings;
5use base 'Catalyst::Model';
6use base 'Epoll::DB';
7
8=head1 NAME
9
10Epoll::Model::Vote - Catalyst Model
11
12=head1 DESCRIPTION
13
14Catalyst Model.
15
16=cut
17
18sub new {
19    my ($class) = @_;
20   
21    bless Epoll::DB->new(Epoll->config->{db}), $class;
22}
23
24=head1 AUTHOR
25
26Thauvin Olivier
27
28=head1 LICENSE
29
30This library is free software, you can redistribute it and/or modify
31it under the same terms as Perl itself or CeCILL.
32
33=cut
34
351;
Note: See TracBrowser for help on using the repository browser.