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 | |
---|
1 | package Epoll::Model::Vote; |
---|
2 | |
---|
3 | use strict; |
---|
4 | use warnings; |
---|
5 | use base 'Catalyst::Model'; |
---|
6 | use base 'Epoll::DB'; |
---|
7 | |
---|
8 | =head1 NAME |
---|
9 | |
---|
10 | Epoll::Model::Vote - Catalyst Model |
---|
11 | |
---|
12 | =head1 DESCRIPTION |
---|
13 | |
---|
14 | Catalyst Model. |
---|
15 | |
---|
16 | =cut |
---|
17 | |
---|
18 | sub new { |
---|
19 | my ($class) = @_; |
---|
20 | |
---|
21 | bless Epoll::DB->new(Epoll->config->{db}), $class; |
---|
22 | } |
---|
23 | |
---|
24 | =head1 AUTHOR |
---|
25 | |
---|
26 | Thauvin Olivier |
---|
27 | |
---|
28 | =head1 LICENSE |
---|
29 | |
---|
30 | This library is free software, you can redistribute it and/or modify |
---|
31 | it under the same terms as Perl itself or CeCILL. |
---|
32 | |
---|
33 | =cut |
---|
34 | |
---|
35 | 1; |
---|
Note: See
TracBrowser
for help on using the repository browser.