Class: Comee::Core::Client
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Comee::Core::Client
- Defined in:
- app/models/comee/core/client.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
32 33 34 |
# File 'app/models/comee/core/client.rb', line 32 def self.ransackable_associations(_auth_object = nil) ["parent"] end |
.ransackable_attributes(_auth_object = nil) ⇒ Object
18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'app/models/comee/core/client.rb', line 18 def self.ransackable_attributes(_auth_object = nil) %w[ id user_id address code name match_code locale parent_id subsidiary ] end |