2020-01-27 10:08:51 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module API
|
|
|
|
module Entities
|
|
|
|
class UserStatus < Grape::Entity
|
|
|
|
expose :emoji
|
|
|
|
expose :message
|
2020-10-29 14:09:11 -04:00
|
|
|
expose :availability
|
2020-01-27 10:08:51 -05:00
|
|
|
expose :message_html do |entity|
|
|
|
|
MarkupHelper.markdown_field(entity, :message)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|