Class: Dscf::Credit::ScoringResult

Inherits:
ApplicationRecord show all
Defined in:
app/models/dscf/credit/scoring_result.rb

Class Method Summary collapse

Class Method Details

.ransackable_associations(auth_object = nil) ⇒ Object



18
19
20
# File 'app/models/dscf/credit/scoring_result.rb', line 18

def self.ransackable_associations(auth_object = nil)
  %w[loan_profile scoring_table created_by]
end

.ransackable_attributes(auth_object = nil) ⇒ Object



14
15
16
# File 'app/models/dscf/credit/scoring_result.rb', line 14

def self.ransackable_attributes(auth_object = nil)
  %w[id score total_limit scoring_input_data active created_at updated_at]
end