debian-mirror-gitlab/app/serializers/feature_flags_client_serializer.rb
2021-01-03 14:25:43 +05:30

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