Class: Dscf::Credit::LoanProfile

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

Class Method Summary collapse

Class Method Details

.ransackable_associations(auth_object = nil) ⇒ Object



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

def self.ransackable_associations(auth_object = nil)
  %w[loan_application scoring_results loans eligible_credit_lines reviews]
end

.ransackable_attributes(auth_object = nil) ⇒ Object



19
20
21
# File 'app/models/dscf/credit/loan_profile.rb', line 19

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