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

10 lines
211 B
Ruby
Raw Normal View History

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