mirror of
https://github.com/discourse/discourse-chat-integration.git
synced 2025-03-09 14:35:34 +00:00
7 lines
218 B
Ruby
7 lines
218 B
Ruby
class DiscourseChat::Channel < DiscourseChat::PluginModel
|
|
KEY_PREFIX = 'channel:'
|
|
|
|
# Setup ActiveRecord::Store to use the JSON field to read/write these values
|
|
store :value, accessors: [ :name ], coder: JSON
|
|
|
|
end |