lib/chronicle/etl/transformers/null_transformer.rb in chronicle-etl-0.2.4 vs lib/chronicle/etl/transformers/null_transformer.rb in chronicle-etl-0.3.0

- old
+ new

@@ -1,9 +1,18 @@ module Chronicle module ETL class NullTransformer < Chronicle::ETL::Transformer + register_connector do |r| + r.identifier = 'null' + r.description = 'in no way' + end + def transform - Chronicle::ETL::Models::Generic.new(@data) + Chronicle::ETL::Models::Generic.new(@extraction.data) end + + def timestamp; end + + def id; end end end end