summaryrefslogtreecommitdiff
path: root/lib/api/entities/feature_flag/strategy.rb
blob: 32699be0ee3382f8cb6f6959ce2213e81a0afb9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

module API
  module Entities
    class FeatureFlag < Grape::Entity
      class Strategy < Grape::Entity
        expose :id
        expose :name
        expose :parameters
        expose :scopes, using: FeatureFlag::Scope
      end
    end
  end
end