gitlab-org--gitlab-foss/app/serializers/feature_flags_client_serializer.rb

9 lines
211 B
Ruby

# frozen_string_literal: true
class FeatureFlagsClientSerializer < BaseSerializer
entity FeatureFlagsClientEntity
def represent_token(resource, opts = {})
represent(resource, only: [:token])
end
end