From: erickson Date: Thu, 6 Mar 2008 15:41:21 +0000 (+0000) Subject: added a common IDL fetching method X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e8dec2614467fea0450afa3b08c93ad0a7801b7e;p=Evergreen.git added a common IDL fetching method git-svn-id: svn://svn.open-ils.org/ILS/trunk@8881 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application.pm b/Open-ILS/src/perlmods/OpenILS/Application.pm index d9b8872de3..ea61918532 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application.pm @@ -14,6 +14,16 @@ __PACKAGE__->register_method( method => 'ils_version', ); +__PACKAGE__->register_method( + api_name => 'opensrf.open-ils.fetch_idl.file', + api_level => 1, + method => 'get_idl_file', +); +sub get_idl_file { + use OpenSRF::Utils::SettingsClient; + return OpenSRF::Utils::SettingsClient->new->config_value('IDL'); +} + sub register_method { my $class = shift; my %args = @_;