Class: Comee::Core::ReorderReportItem

Inherits:
ApplicationRecord show all
Defined in:
app/models/comee/core/reorder_report_item.rb

Class Method Summary collapse

Class Method Details

.ransackable_associationsObject



13
14
15
# File 'app/models/comee/core/reorder_report_item.rb', line 13

def self.ransackable_associations
  %w[reorder_report product]
end

.ransackable_attributes(_auth_object = nil) ⇒ Object



9
10
11
# File 'app/models/comee/core/reorder_report_item.rb', line 9

def self.ransackable_attributes(_auth_object = nil)
  %w[created_at id id_value product_id quantity reorder_report_id updated_at]
end