Module: RefineQuote
- Included in:
- PEngine
- Defined in:
- lib/bizLogic/continualQNB.rb
Instance Method Summary collapse
Instance Method Details
#integrateData(session, origData, newData) ⇒ Object
2 3 4 5 6 7 |
# File 'lib/bizLogic/continualQNB.rb', line 2 def integrateData(session,origData,newData) #this piece of logica takes two xml documents that need to be merge, there will be new nodes #and overlapping nodes as question answers for the quote are made available result = origData.gsub("</#{session[:product]}>","")+newData.gsub("<#{session[:product]}>","") result end |