Class: Comee::Core::PickupSchedule

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

Class Method Summary collapse

Class Method Details

.ransackable_associations(_auth_object = nil) ⇒ Object



16
17
18
# File 'app/models/comee/core/pickup_schedule.rb', line 16

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

.ransackable_attributes(_auth_object = nil) ⇒ Object



12
13
14
# File 'app/models/comee/core/pickup_schedule.rb', line 12

def self.ransackable_attributes(_auth_object = nil)
  %w[id driver_license_no plate_no pod_id status time_slot_id truck_no]
end