1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/app/models/notification.rb

11 lines
272 B
Ruby
Raw Normal View History

# frozen_string_literal: true
# Notification is an in-system alert that is shown to a specific user until it is marked as read.
2020-03-25 10:16:47 +01:00
class Notification < ApplicationRecord
2015-05-05 03:10:25 +02:00
include NotifyWith::Notification
2016-03-23 18:39:41 +01:00
def get_meta_data(key)
meta_data.try(:[], key.to_s)
end
2015-05-05 03:10:25 +02:00
end