debian-mirror-gitlab/lib/api/entities/user_status.rb
2021-03-11 19:13:27 +05:30

15 lines
317 B
Ruby

# 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