mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 02:03:40 +08: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
|