Module: Lenddo::ServiceClient
- Defined in:
- lib/lenddo/service_client.rb,
lib/lenddo/service_client/score_service.rb
Defined Under Namespace
Classes: ScoreService
Class Attribute Summary collapse
-
.score_service ⇒ Object
Returns the value of attribute score_service.
Class Method Summary collapse
-
.application_decision(application_id, partnerscript_id) ⇒ Object
Calls the Lenddo Service with the provided application_id and partner_script_id to return a application decision result.
-
.application_multiple_scores(application_id, partnerscript_id) ⇒ Object
Calls the Lenddo Service with the provided application_id and partner_script_id to return an array of LenddoScore records.
-
.application_score(application_id, partnerscript_id) ⇒ Object
Calls the Lenddo Service with the provided application_id and partner_script_id to return a application score result.
-
.application_verification(application_id, partnerscript_id) ⇒ Object
Calls the Lenddo Service with the provided application_id and partner_script_idto return a application verification result.
Class Attribute Details
.score_service ⇒ Object
Returns the value of attribute score_service.
10 11 12 |
# File 'lib/lenddo/service_client.rb', line 10 def score_service @score_service end |
Class Method Details
.application_decision(application_id, partnerscript_id) ⇒ Object
Calls the Lenddo Service with the provided application_id and partner_script_id to return a application decision result.
35 36 37 38 |
# File 'lib/lenddo/service_client.rb', line 35 def application_decision(application_id, partnerscript_id) @score_service ||= ScoreService.new @score_service.application_decision(application_id, partnerscript_id) end |
.application_multiple_scores(application_id, partnerscript_id) ⇒ Object
Calls the Lenddo Service with the provided application_id and partner_script_id to return an array of LenddoScore records
21 22 23 24 |
# File 'lib/lenddo/service_client.rb', line 21 def application_multiple_scores(application_id, partnerscript_id) @score_service ||= ScoreService.new @score_service.application_multiple_scores(application_id, partnerscript_id) end |
.application_score(application_id, partnerscript_id) ⇒ Object
Calls the Lenddo Service with the provided application_id and partner_script_id to return a application score result.
14 15 16 17 |
# File 'lib/lenddo/service_client.rb', line 14 def application_score(application_id, partnerscript_id) @score_service ||= ScoreService.new @score_service.application_score(application_id, partnerscript_id) end |
.application_verification(application_id, partnerscript_id) ⇒ Object
Calls the Lenddo Service with the provided application_id and partner_script_idto return a application verification result.
28 29 30 31 |
# File 'lib/lenddo/service_client.rb', line 28 def application_verification(application_id, partnerscript_id) @score_service ||= ScoreService.new @score_service.application_verification(application_id, partnerscript_id) end |