mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-25 00:03:27 +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
|