Class: Chronicle::ETL::Record

Inherits:
Object
  • Object
show all
Defined in:
lib/chronicle/etl/record.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data: {}, extraction: nil) ⇒ Record

Returns a new instance of Record.



9
10
11
12
# File 'lib/chronicle/etl/record.rb', line 9

def initialize(data: {}, extraction: nil)
  @data = data
  @extraction = extraction
end

Instance Attribute Details

#dataObject

Returns the value of attribute data.



7
8
9
# File 'lib/chronicle/etl/record.rb', line 7

def data
  @data
end

#extractionObject

Returns the value of attribute extraction.



7
8
9
# File 'lib/chronicle/etl/record.rb', line 7

def extraction
  @extraction
end