debian-mirror-gitlab/lib/api/entities/feature_flag.rb
2021-02-22 17:27:13 +05:30

16 lines
363 B
Ruby

# 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