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

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