Sha256: ea240becad36ffff739c5cee05ace8d1b7d8803409f96401d5d3237538898c63

Contents?: true

Size: 468 Bytes

Versions: 13

Compression:

Stored size: 468 Bytes

Contents

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

13 entries across 13 versions & 2 rubygems

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