debian-mirror-gitlab/lib/api/entities/feature_gate.rb
2023-01-12 18:35:48 +00:00

10 lines
271 B
Ruby

# frozen_string_literal: true
module API
module Entities
class FeatureGate < Grape::Entity
expose :key, documentation: { type: 'string', example: 'percentage_of_actors' }
expose :value, documentation: { type: 'integer', example: 34 }
end
end
end