Class: Dscf::Credit::InformationSource

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

Class Method Summary collapse

Class Method Details

.ransackable_associations(auth_object = nil) ⇒ Object



20
21
22
# File 'app/models/dscf/credit/information_source.rb', line 20

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

.ransackable_attributes(auth_object = nil) ⇒ Object



16
17
18
# File 'app/models/dscf/credit/information_source.rb', line 16

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