Sha256: 843ae783a401dd1bc53515460c52bd0e6ca03c13722fc60674dac54fdd32c061
Contents?: true
Size: 501 Bytes
Versions: 10
Compression:
Stored size: 501 Bytes
Contents
require 'chronicle/etl/models/base' module Chronicle module ETL module Models # A record from an extraction with no processing or normalization applied class Raw TYPE = 'raw' attr_accessor :raw_data def initialize(raw_data) @raw_data = raw_data end def to_h @raw_data.to_h end def to_h_flattened Chronicle::ETL::Utils::HashUtilities.flatten_hash(to_h) end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems