Sha256: caedc68881a1a514ba1b4ae7ed99252a82b80bbd5b1d872f289cd765a67caa29

Contents?: true

Size: 231 Bytes

Versions: 1

Compression:

Stored size: 231 Bytes

Contents

module ActiveModelSerializers
  module Adapter
    class Null < Base
      # Since options param is not being used, underscored naming of the param
      def serializable_hash(_options = nil)
        {}
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_model_serializers-0.10.0.rc5 lib/active_model_serializers/adapter/null.rb