gitlab-org--gitlab-foss/app/serializers/analytics_generic_serializer.rb
2018-07-23 11:27:39 -07:00

9 lines
184 B
Ruby

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