gitlab-org--gitlab-foss/lib/api/entities/user_status.rb

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

16 lines
317 B
Ruby
Raw Normal View History

# 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