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