lib/openwfe/rest/xmlcodec.rb in openwferu-0.9.3 vs lib/openwfe/rest/xmlcodec.rb in openwferu-0.9.4

- old
+ new

@@ -38,14 +38,14 @@ # #require 'base64' require 'rexml/document' -require 'definitions' -require 'utils' -require 'workitem' -require 'flowexpressionid' +require 'openwfe/utils' +require 'openwfe/workitem' +require 'openwfe/flowexpressionid' +require 'openwfe/rest/definitions' module OpenWFE class XmlCodec @@ -213,19 +213,19 @@ return xmlElt.text if xmlElt.name == E_STRING return Integer(xmlElt.text) if xmlElt.name == E_INTEGER return Integer(xmlElt.text) if xmlElt.name == E_LONG return Float(xmlElt.text) if xmlElt.name == E_DOUBLE - return parseBoolean(xmlElt.text) if xmlElt.name == E_BOOLEAN + return parse_boolean(xmlElt.text) if xmlElt.name == E_BOOLEAN return xmlElt if xmlElt.name == E_XML return Base64Attribute.new(xmlElt.txt) if xmlElt.name == E_BASE64 # # composite types - return decodeList(xmlElt) if xmlElt.name == E_LIST + return decode_list(xmlElt) if xmlElt.name == E_LIST if xmlElt.name == E_SMAP or xmlElt.name == E_MAP map = {} map[MAP_TYPE] = xmlElt.name