mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-10 21:24:20 +01:00
11 lines
272 B
Ruby
11 lines
272 B
Ruby
# frozen_string_literal: true
|
|
|
|
# Notification is an in-system alert that is shown to a specific user until it is marked as read.
|
|
class Notification < ApplicationRecord
|
|
include NotifyWith::Notification
|
|
|
|
def get_meta_data(key)
|
|
meta_data.try(:[], key.to_s)
|
|
end
|
|
end
|