Sha256: 3bf3274ab872c395e66d8d0129933fc121f20d02fe1156089c33e98b1ab237df

Contents?: true

Size: 170 Bytes

Versions: 8

Compression:

Stored size: 170 Bytes

Contents

# frozen_string_literal: true

module ActiveModelSerializers
  module Adapter
    class Null < Base
      def serializable_hash(*)
        {}
      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_serializers/adapter/null.rb
active_model_serializers-0.10.14 lib/active_model_serializers/adapter/null.rb
active_model_serializers-0.10.13 lib/active_model_serializers/adapter/null.rb
active_model_serializers-0.10.12 lib/active_model_serializers/adapter/null.rb
active_model_serializers-0.10.11 lib/active_model_serializers/adapter/null.rb
active_model_serializers-0.10.10 lib/active_model_serializers/adapter/null.rb
active_model_serializers_custom-0.10.90 lib/active_model_serializers/adapter/null.rb
active_model_serializers-0.10.9 lib/active_model_serializers/adapter/null.rb