Sha256: 3b14546719a15a325588e1ad002070d86deb7025587be742d3308c911ad0ad5f
Contents?: true
Size: 1.46 KB
Versions: 1
Compression:
Stored size: 1.46 KB
Contents
module Lenddo class ScoreService def application_score(application_id, partnerscript_id) response = signed_request( method: "GET", host: Lenddo.configuration.score_service, path: "/ClientScore/#{application_id}", params: { partner_script_id: partnerscript_id } ) JSON.parse(response.body) end def application_multiple_scores(application_id, partnerscript_id) response = signed_request( method: "GET", host: Lenddo.configuration.score_service, path: "/ApplicationMultipleScores/#{application_id}", params: { partner_script_id: partnerscript_id } ) JSON.parse(response.body) end def application_verification(application_id, partnerscript_id) response = signed_request( method: "GET", host: Lenddo.configuration.score_service, path: "/ClientVerification/#{application_id}", params: { partner_script_id: partnerscript_id } ) JSON.parse(response.body) end def application_decision(application_id, partnerscript_id) response = signed_request( method: "GET", host: Lenddo.configuration.score_service, path: "/ApplicationDecision/#{application_id}", params: { partner_script_id: partnerscript_id } ) JSON.parse(response.body) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lenddo-1.2.0 | lib/lenddo/score_service/self.rb |