mirror of
https://github.com/discourse/discourse.git
synced 2025-02-09 21:04:48 +00:00
8 lines
248 B
Ruby
8 lines
248 B
Ruby
# frozen_string_literal: true
|
|
|
|
class IncomingChatWebhookSerializer < ApplicationSerializer
|
|
has_one :chat_channel, serializer: ChatChannelSerializer, embed: :objects
|
|
|
|
attributes :id, :name, :description, :emoji, :url, :username, :updated_at
|
|
end
|