Class: Comee::Core::Lookup

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

Class Method Summary collapse

Class Method Details

.ransackable_associations(_auth_object = nil) ⇒ Object



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

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

.ransackable_attributes(_auth_object = nil) ⇒ Object



7
8
9
10
11
12
13
14
# File 'app/models/comee/core/lookup.rb', line 7

def self.ransackable_attributes(_auth_object = nil)
  %w[
    id
    code
    name
    lookup_type
  ]
end