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