Bug 17499: Add Koha-objects for messaging preferences
[koha.git] / Koha / Patron / Message / Transports.pm
1 package Koha::Patron::Message::Transports;
2
3 # Copyright Koha-Suomi Oy 2016
4 #
5 # This file is part of Koha.
6 #
7 # Koha is free software; you can redistribute it and/or modify it under the
8 # terms of the GNU General Public License as published by the Free Software
9 # Foundation; either version 3 of the License, or (at your option) any later
10 # version.
11 #
12 # Koha is distributed in the hope that it will be useful, but WITHOUT ANY
13 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
14 # A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License along
17 # with Koha; if not, write to the Free Software Foundation, Inc.,
18 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19
20 use Modern::Perl;
21
22 use Koha::Database;
23 use Koha::Patron::Message::Transport;
24
25 use base qw(Koha::Objects);
26
27 =head1 NAME
28
29 Koha::Patron::Message::Transports - Koha Patron Message Transports object class
30
31 =head1 API
32
33 =head2 Class Methods
34
35 =cut
36
37 =head3 type
38
39 =cut
40
41 sub _type {
42     return 'MessageTransport';
43 }
44
45 sub object_class {
46     return 'Koha::Patron::Message::Transport';
47 }
48
49 =head1 AUTHOR
50
51 Lari Taskula <lari.taskula@hypernova.fi>
52
53 =cut
54
55 1;