Class: Dscf::Credit::Category

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

Class Method Summary collapse

Class Method Details

.ransackable_associations(auth_object = nil) ⇒ Object



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

def self.ransackable_associations(auth_object = nil)
  %w[bank scoring_parameters]
end

.ransackable_attributes(auth_object = nil) ⇒ Object



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

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