Method: ActivityNotification::ORM::Mongoid::Notification#with_target

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

#with_targetMongoid::Criteria<Notificaion>

Includes target instance with query for notifications.

Returns:

  • (Mongoid::Criteria<Notificaion>)

    Database query of notifications with target



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

scope :with_target,                       -> { }