mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 09:42:46 +08:00
19 lines
240 B
Ruby
19 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
|