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

7 lines
153 B
Ruby

class AnalyticsGenericSerializer < BaseSerializer
def represent(resource, opts = {})
resource.symbolize_keys!
super(resource, opts)
end
end