Module: UserNotification::ORM::Mongoid::Activist
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/user_notification/orm/mongoid/activist.rb
Overview
Module extending classes that serve as owners
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
-
#notifications ⇒ Array<Notification>
Association of notifications as their owner.
-
#private_notifications ⇒ Array<Notification>
Association of notifications as their recipient.
Class Method Details
.extended(base) ⇒ Object
8 9 10 |
# File 'lib/user_notification/orm/mongoid/activist.rb', line 8 def self.extended(base) base.extend(ClassMethods) end |
Instance Method Details
#notifications ⇒ Array<Notification>
Association of notifications as their owner.
|
# File 'lib/user_notification/orm/mongoid/activist.rb', line 11
|
#private_notifications ⇒ Array<Notification>
Association of notifications as their recipient.
|
# File 'lib/user_notification/orm/mongoid/activist.rb', line 15
|