iab-InsuranceBizLogic 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/bizLogic/xquery2 +5 -0
- data/lib/processengine/engine.rb +6 -0
- metadata +2 -1
data/lib/processengine/engine.rb
CHANGED
@@ -131,6 +131,12 @@ class PEngine
|
|
131
131
|
xml = persist.get(params[:choosen][:one])
|
132
132
|
prepareModels(session[:product],xml)
|
133
133
|
|
134
|
+
when "Authenticate"
|
135
|
+
eval(deriveActiveRecordDefinitionOfProduct(session[:product]))
|
136
|
+
open("#{File.dirname(__FILE__)}/../bizLogic/xquery2") {|f| @query = f.read }
|
137
|
+
results = persist.find(@query.gsub('EMAIL',"#{params[:User][:User]}"))
|
138
|
+
prepareModels(session[:product],results[0]) if results and results[0]
|
139
|
+
|
134
140
|
when "SectionRating"
|
135
141
|
"1553.25"
|
136
142
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iab-InsuranceBizLogic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gary Mawdsley
|
@@ -46,6 +46,7 @@ files:
|
|
46
46
|
- lib/bizLogic/continualQNB.rb
|
47
47
|
- lib/bizLogic/VPMSHelper.rb
|
48
48
|
- lib/bizLogic/xquery1
|
49
|
+
- lib/bizLogic/xquery2
|
49
50
|
- lib/bizLogic/applymta.rb
|
50
51
|
- lib/bizLogic/payment.rb
|
51
52
|
- lib/bizLogic/diff.rb
|