Sha256: 28ff09c8829f42b15a49fc14b95b3116850c71695bb78f0764dccac12633b89a
Contents?: true
Size: 540 Bytes
Versions: 1
Compression:
Stored size: 540 Bytes
Contents
# frozen_string_literal: true module Esse class NullDocument < Esse::Serializer def initialize @object = nil @options = {} end # @return [NilClass] the document ID def id nil end # @return [NilClass] the document type def type nil end # @return [NilClass] the document routing def routing nil end # @return [NilClass] the document meta def meta {} end # @return [NilClass] the document source def source nil end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
esse-0.2.2 | lib/esse/null_document.rb |