gitlab-org--gitlab-foss/app/serializers/status_entity.rb
2016-12-21 14:47:43 +01:00

8 lines
172 B
Ruby

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