Sha256: 19ff14d3b3ce18481253b11a18fe196c088ed1889d98d6bdd3a0e7283cd63a42

Contents?: true

Size: 180 Bytes

Versions: 3

Compression:

Stored size: 180 Bytes

Contents

module ActiveModel
  class Serializer
    class Adapter
      class Null < Adapter
        def serializable_hash(options = {})
          {}
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
cm-active_model_serializers-0.10.0.rc1.1 lib/active_model/serializer/adapter/null.rb
active_model_serializers-0.10.0.rc2 lib/active_model/serializer/adapter/null.rb
active_model_serializers-0.10.0.rc1 lib/active_model/serializer/adapter/null.rb