discourse/plugins/chat/app/serializers/incoming_chat_webhook_seria...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
248 B
Ruby
Raw Normal View History

# 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