[open-ils-commits] r17070 - trunk/Open-ILS/src/edi_translator (atz)
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Aug 3 23:56:38 EDT 2010
Author: atz
Date: 2010-08-03 23:56:35 -0400 (Tue, 03 Aug 2010)
New Revision: 17070
Modified:
trunk/Open-ILS/src/edi_translator/edi_webrick.rb
Log:
Simple 1-line feature for EDI translator
Allows us to know what the effective version of openils-mapper is.
Modified: trunk/Open-ILS/src/edi_translator/edi_webrick.rb
===================================================================
--- trunk/Open-ILS/src/edi_translator/edi_webrick.rb 2010-08-03 20:45:45 UTC (rev 17069)
+++ trunk/Open-ILS/src/edi_translator/edi_webrick.rb 2010-08-04 03:56:35 UTC (rev 17070)
@@ -88,6 +88,7 @@
# create a servlet to handle XML-RPC requests:
servlet = XMLRPC::WEBrickServlet.new
+servlet.add_handler("mapper_version") { OpenILS::Mapper::VERSION }
servlet.add_handler("upper_case") { |a_string| a_string.upcase }
servlet.add_handler("lower_case") { |a_string| a_string.downcase }
servlet.add_handler("edi2json" ) { |a_string|
More information about the open-ils-commits
mailing list