Method: ActivityNotification::ORM::Mongoid::Notification.raise_delete_restriction_error
- Defined in:
- lib/activity_notification/orm/mongoid/notification.rb
.raise_delete_restriction_error(error_text) ⇒ void
This method returns an undefined value.
Raise ActivityNotification::DeleteRestrictionError for notifications.
202 203 204 |
# File 'lib/activity_notification/orm/mongoid/notification.rb', line 202 def self.raise_delete_restriction_error(error_text) raise ActivityNotification::DeleteRestrictionError, error_text end |