debian-mirror-gitlab/lib/api/entities/feature_flag/scope.rb
2023-01-13 15:02:22 +05:30

12 lines
319 B
Ruby

# frozen_string_literal: true
module API
module Entities
class FeatureFlag < Grape::Entity
class Scope < Grape::Entity
expose :id, documentation: { type: 'integer', example: 1 }
expose :environment_scope, documentation: { type: 'string', example: 'production' }
end
end
end
end