Class: Comee::Core::CustomsDetail

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

Class Method Summary collapse

Class Method Details

.ransackable_associations(_auth_object = nil) ⇒ Object



10
11
12
# File 'app/models/comee/core/customs_detail.rb', line 10

def self.ransackable_associations(_auth_object = nil)
  %w[sales_order]
end

.ransackable_attributes(_auth_object = nil) ⇒ Object



6
7
8
# File 'app/models/comee/core/customs_detail.rb', line 6

def self.ransackable_attributes(_auth_object = nil)
  %w[id sales_order_id]
end