debian-mirror-gitlab/lib/api/entities/label_basic.rb
2022-05-07 20:08:51 +05:30

13 lines
261 B
Ruby

# frozen_string_literal: true
module API
module Entities
class LabelBasic < Grape::Entity
expose :id, :name, :description, :description_html, :text_color
expose :color do |label, options|
label.color.to_s
end
end
end
end