Sha256: 991621491ddc8d6879a896129930b89ae662193580f286e95ea9b933338edcc7
Contents?: true
Size: 371 Bytes
Versions: 12
Compression:
Stored size: 371 Bytes
Contents
module ActiveModel class Serializer module Configuration include ActiveSupport::Configurable extend ActiveSupport::Concern included do |base| base.config.array_serializer = ActiveModel::Serializer::ArraySerializer base.config.adapter = :flatten_json base.config.jsonapi_resource_type = :plural end end end end
Version data entries
12 entries across 12 versions & 2 rubygems