]> git.evergreen-ils.org Git - working/NCIPServer.git/blob - lib/NCIP/Const.pm
Add AuthenticationInput checks for more messages in NCIP::ILS.
[working/NCIPServer.git] / lib / NCIP / Const.pm
1 # ---------------------------------------------------------------
2 # Copyright © 2014 Jason J.A. Stephenson <jason@sigio.com>
3 #
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2 of the License, or
7 # (at your option) any later version.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13 # ---------------------------------------------------------------
14 package NCIP::Const;
15
16 # Constants for NCIP.pm and family.
17
18 # We don't use Exporter, so we must refer to these with NCIP::Const::
19 # prefix.
20
21 # Versions of NCIP that we support as indicated by a list of schema
22 # URIs.
23 use constant SUPPORTED_VERSIONS => (
24     'http://www.niso.org/schemas/ncip/v2_02/ncip_v2_02.xsd',
25 );
26
27 # Messages for which AuthenticationInput are valid.
28 use constant AUTHENTICATIONINPUT_MESSAGES => (
29     'LookUpUser', 'RenewItem', 'CheckOutItem', 'RequestItem',
30 );
31 1;