Sha256: 9ac92bca3f4d676d7faf95ee4cc6138fa247b39a9f57535b78abf22df994cd5f

Contents?: true

Size: 453 Bytes

Versions: 13

Compression:

Stored size: 453 Bytes

Contents

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

13 entries across 13 versions & 2 rubygems

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