mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-09-20 23:16:15 +08:00
20 lines
240 B
Ruby
20 lines
240 B
Ruby
# frozen_string_literal: true
|
|
|
|
class GeneralNotification < BaseNotification
|
|
def message
|
|
params[:message]
|
|
end
|
|
|
|
def title
|
|
params[:title]
|
|
end
|
|
|
|
def subtype
|
|
params[:type]
|
|
end
|
|
|
|
def subject
|
|
params[:subject]
|
|
end
|
|
end
|