Class: Dscf::Credit::ScoringParameter

Inherits:
ApplicationRecord show all
Includes:
Dscf::Core::AuditableModel, Dscf::Core::ReviewableModel
Defined in:
app/models/dscf/credit/scoring_parameter.rb

Class Method Summary collapse

Class Method Details

.ransackable_associations(auth_object = nil) ⇒ Object



28
29
30
# File 'app/models/dscf/credit/scoring_parameter.rb', line 28

def self.ransackable_associations(auth_object = nil)
  %w[bank category created_by scoring_table_parameters reviews audit_logs]
end

.ransackable_attributes(auth_object = nil) ⇒ Object



23
24
25
26
# File 'app/models/dscf/credit/scoring_parameter.rb', line 23

def self.ransackable_attributes(auth_object = nil)
  %w[id code name description data_type active
     document_reference created_at updated_at]
end