Class: Chronicle::ETL::Record
- Inherits:
-
Object
- Object
- Chronicle::ETL::Record
- Defined in:
- lib/chronicle/etl/record.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#extraction ⇒ Object
Returns the value of attribute extraction.
Instance Method Summary collapse
-
#initialize(data: {}, extraction: nil) ⇒ Record
constructor
A new instance of Record.
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
#data ⇒ Object
Returns the value of attribute data.
7 8 9 |
# File 'lib/chronicle/etl/record.rb', line 7 def data @data end |
#extraction ⇒ Object
Returns the value of attribute extraction.
7 8 9 |
# File 'lib/chronicle/etl/record.rb', line 7 def extraction @extraction end |