summaryrefslogtreecommitdiff
path: root/lib/api/entities/user_status.rb
blob: 9bc4cbf240f788d1803b2593e1bc5588d4753d1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

module API
  module Entities
    class UserStatus < Grape::Entity
      expose :emoji
      expose :message
      expose :message_html do |entity|
        MarkupHelper.markdown_field(entity, :message)
      end
    end
  end
end