Sha256: 1d21f8b673d811b4129eb86be0650ba3cebb1fe68faba1b39fe9fba725c97c4c

Contents?: true

Size: 493 Bytes

Versions: 11

Compression:

Stored size: 493 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

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

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
active_model_serializers-0.10.8 lib/active_model/serializer/adapter/base.rb
active_model_serializers-0.10.7 lib/active_model/serializer/adapter/base.rb
active_model_serializers-0.10.6 lib/active_model/serializer/adapter/base.rb
active_model_serializers-0.10.5 lib/active_model/serializer/adapter/base.rb
active_model_serializers-0.10.4 lib/active_model/serializer/adapter/base.rb
agi_active_model_serializers-0.10.9 lib/active_model/serializer/adapter/base.rb
agi_active_model_serializers-0.10.8 lib/active_model/serializer/adapter/base.rb
agi_active_model_serializers-0.10.7 lib/active_model/serializer/adapter/base.rb
active_model_serializers-0.10.3 lib/active_model/serializer/adapter/base.rb
active_model_serializers-0.10.2 lib/active_model/serializer/adapter/base.rb
active_model_serializers-0.10.1 lib/active_model/serializer/adapter/base.rb