Sha256: add478991edfd52f5ac8a79d9a03098d0d2abb18370e6a69257fae5a0d854727

Contents?: true

Size: 309 Bytes

Versions: 4

Compression:

Stored size: 309 Bytes

Contents

# frozen_string_literal: true

module Esse
  class DocumentForPartialUpdate < Esse::Document
    extend Forwardable

    def_delegators :object, :id, :type, :routing, :options

    attr_reader :source

    def initialize(lazy_header, source:)
      @source = source
      super(lazy_header)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
esse-0.4.0.rc4 lib/esse/document_for_partial_update.rb
esse-0.4.0.rc3 lib/esse/document_for_partial_update.rb
esse-0.4.0.rc2 lib/esse/document_for_partial_update.rb
esse-0.4.0.rc1 lib/esse/document_for_partial_update.rb