Class: Dscf::Core::Notification
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Dscf::Core::Notification
- Defined in:
- app/models/dscf/core/notification.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
27 28 29 |
# File 'app/models/dscf/core/notification.rb', line 27 def self.ransackable_associations(_auth_object = nil) %w[notifiable recipient] end |
.ransackable_attributes(_auth_object = nil) ⇒ Object
23 24 25 |
# File 'app/models/dscf/core/notification.rb', line 23 def self.ransackable_attributes(_auth_object = nil) %w[id notification_type status title body read_at delivered_at created_at updated_at] end |