summaryrefslogtreecommitdiff
path: root/lib/api/entities/feature_gate.rb
blob: ad4702bf210cabfd10593cf028ef7b86c335d40b (plain)
1
2
3
4
5
6
7
8
9
10
# 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