Sha256: aa5eb342fca52c50eeb6df8b8044df8574e0c24b8ed7e07fc99a210d787ad50d

Contents?: true

Size: 457 Bytes

Versions: 2

Compression:

Stored size: 457 Bytes

Contents

module ActiveModel
  class Serializer
    module Adapter
      class Base < DelegateClass(ActiveModelSerializers::Adapter::Base)
        class << self
          extend ActiveModelSerializers::Deprecate
          deprecate :inherited, 'ActiveModelSerializers::Adapter::Base.'
        end

        def initialize(serializer, options = {})
          super(ActiveModelSerializers::Adapter::Base.new(serializer, options))
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
active_model_serializers-0.10.0 lib/active_model/serializer/adapter/base.rb
active_model_serializers-0.10.0.rc5 lib/active_model/serializer/adapter/base.rb