lib/etl/transform/decode_transform.rb in activewarehouse-etl-0.5.2 vs lib/etl/transform/decode_transform.rb in activewarehouse-etl-0.6.0
- old
+ new
@@ -25,10 +25,10 @@
@decode_table_delimiter = (configuration[:decode_table_delimiter] || ':')
@default_value = (configuration[:default_value] || 'No Value')
end
# Transform the value
- def transform(value)
+ def transform(name, value, row)
decode_table[value] || default_value
end
# Get the decode table
def decode_table
\ No newline at end of file