debian-mirror-gitlab/app/serializers/analytics_generic_serializer.rb
2017-08-17 22:00:37 +05:30

7 lines
153 B
Ruby

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