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

module API
  module Entities
    class FeatureFlag < Grape::Entity
      expose :name
      expose :description
      expose :active
      expose :version
      expose :created_at
      expose :updated_at
      expose :scopes, using: FeatureFlag::LegacyScope
      expose :strategies, using: FeatureFlag::Strategy
    end
  end
end