Class: Dscf::Credit::CreditLine
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Dscf::Credit::CreditLine
- Includes:
- Dscf::Core::AuditableModel, Dscf::Core::ReviewableModel
- Defined in:
- app/models/dscf/credit/credit_line.rb
Class Method Summary collapse
- .ransackable_associations(auth_object = nil) ⇒ Object
- .ransackable_attributes(auth_object = nil) ⇒ Object
Class Method Details
.ransackable_associations(auth_object = nil) ⇒ Object
24 25 26 |
# File 'app/models/dscf/credit/credit_line.rb', line 24 def self.ransackable_associations(auth_object = nil) %w[bank credit_product created_by credit_line_specs loans eligible_credit_lines reviews] end |
.ransackable_attributes(auth_object = nil) ⇒ Object
20 21 22 |
# File 'app/models/dscf/credit/credit_line.rb', line 20 def self.ransackable_attributes(auth_object = nil) %w[id name code description document_reference created_at updated_at] end |