Sha256: 3ed500b7b6dd702c5eb51f7225901855f74944048861a88f7fda95044c27c076

Contents?: true

Size: 524 Bytes

Versions: 8

Compression:

Stored size: 524 Bytes

Contents

# frozen_string_literal: true

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

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

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
active_model_serializers-0.10.15 lib/active_model/serializer/adapter/base.rb
active_model_serializers-0.10.14 lib/active_model/serializer/adapter/base.rb
active_model_serializers-0.10.13 lib/active_model/serializer/adapter/base.rb
active_model_serializers-0.10.12 lib/active_model/serializer/adapter/base.rb
active_model_serializers-0.10.11 lib/active_model/serializer/adapter/base.rb
active_model_serializers-0.10.10 lib/active_model/serializer/adapter/base.rb
active_model_serializers_custom-0.10.90 lib/active_model/serializer/adapter/base.rb
active_model_serializers-0.10.9 lib/active_model/serializer/adapter/base.rb