debian-mirror-gitlab/app/serializers/feature_flags_client_serializer.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
211 B
Ruby
Raw Normal View History

2021-01-03 14:25:43 +05:30
# frozen_string_literal: true
class FeatureFlagsClientSerializer < BaseSerializer
entity FeatureFlagsClientEntity
def represent_token(resource, opts = {})
represent(resource, only: [:token])
end
end