Class: Esse::DocumentForPartialUpdate

Inherits:
Document
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/esse/document_for_partial_update.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(lazy_header, source:) ⇒ DocumentForPartialUpdate

Returns a new instance of DocumentForPartialUpdate.



11
12
13
14
# File 'lib/esse/document_for_partial_update.rb', line 11

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

Instance Attribute Details

#sourceObject (readonly)

Returns the value of attribute source.



9
10
11
# File 'lib/esse/document_for_partial_update.rb', line 9

def source
  @source
end