Method: ActivityNotification::ORM::Mongoid::Notification#where

Defined in:
lib/activity_notification/orm/mongoid/notification.rb

#whereMongoid::Criteria<Notification>

Selects filtered notifications by type of the object. Filtering with ActivityNotification::Notification is defined as default scope.



65
# File 'lib/activity_notification/orm/mongoid/notification.rb', line 65

default_scope -> { where(_type: "ActivityNotification::Notification") }