Sha256: 68e2ec6cbb5ef3330470e2c35586054f340f3c7afd8940fb624a8415474d83d4
Contents?: true
Size: 484 Bytes
Versions: 8
Compression:
Stored size: 484 Bytes
Contents
# frozen_string_literal: true 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
8 entries across 8 versions & 2 rubygems