Class: UserNotification::ORM::MongoMapper::Adapter
- Inherits:
-
Object
- Object
- UserNotification::ORM::MongoMapper::Adapter
- Defined in:
- lib/user_notification/orm/mongo_mapper/adapter.rb
Class Method Summary collapse
-
.create_notification(notifiable, options) ⇒ Object
Creates the notification on ‘notifiable` with `options`.
Class Method Details
.create_notification(notifiable, options) ⇒ Object
Creates the notification on ‘notifiable` with `options`
6 7 8 |
# File 'lib/user_notification/orm/mongo_mapper/adapter.rb', line 6 def self.create_notification(notifiable, ) notifiable.notifications.create end |