Sha256: 4f5d5c7335f2e234511b0e1735a4c317d46393c574bc9944ca2c49558b08bea9
Contents?: true
Size: 453 Bytes
Versions: 13
Compression:
Stored size: 453 Bytes
Contents
module ActiveModel class Serializer module Adapter class Json < DelegateClass(ActiveModelSerializers::Adapter::Json) def initialize(serializer, options = {}) super(ActiveModelSerializers::Adapter::Json.new(serializer, options)) end class << self extend ActiveModelSerializers::Deprecate deprecate :new, 'ActiveModelSerializers::Adapter::Json.new' end end end end end
Version data entries
13 entries across 13 versions & 2 rubygems