Class: Lenddo::ScoreService

Inherits:
Object
  • Object
show all
Defined in:
lib/lenddo/score_service/self.rb

Instance Method Summary collapse

Instance Method Details

#application_decision(application_id, partnerscript_id) ⇒ Object



36
37
38
39
40
41
42
43
44
45
# File 'lib/lenddo/score_service/self.rb', line 36

def application_decision(application_id, partnerscript_id)
  signed_request(
    method: "GET",
    host: Lenddo.configuration.score_service,
    path: "/ApplicationDecision/#{application_id}",
    params: {
      partner_script_id: partnerscript_id
    }
  )
end

#application_multiple_scores(application_id, partnerscript_id) ⇒ Object



14
15
16
17
18
19
20
21
22
23
# File 'lib/lenddo/score_service/self.rb', line 14

def application_multiple_scores(application_id, partnerscript_id)
  signed_request(
    method: "GET",
    host: Lenddo.configuration.score_service,
    path: "/ApplicationMultipleScores/#{application_id}",
    params: {
      partner_script_id: partnerscript_id
    }
  )
end

#application_score(application_id, partnerscript_id) ⇒ Object



3
4
5
6
7
8
9
10
11
12
# File 'lib/lenddo/score_service/self.rb', line 3

def application_score(application_id, partnerscript_id)
  signed_request(
    method: "GET",
    host: Lenddo.configuration.score_service,
    path: "/ClientScore/#{application_id}",
    params: {
      partner_script_id: partnerscript_id
    }
  )
end

#application_verification(application_id, partnerscript_id) ⇒ Object



25
26
27
28
29
30
31
32
33
34
# File 'lib/lenddo/score_service/self.rb', line 25

def application_verification(application_id, partnerscript_id)
  signed_request(
    method: "GET",
    host: Lenddo.configuration.score_service,
    path: "/ClientVerification/#{application_id}",
    params: {
      partner_script_id: partnerscript_id
    }
  )
end