gitlab-org--gitlab-foss/app/serializers/status_entity.rb
2017-03-23 17:11:48 +09:00

8 lines
182 B
Ruby

class StatusEntity < Grape::Entity
include RequestAwareEntity
expose :icon, :favicon, :text, :label, :group
expose :has_details?, as: :has_details
expose :details_path
end