Class: Cure::Coordinator

Inherits:
Object
  • Object
show all
Includes:
Configuration, Log
Defined in:
lib/cure/coordinator.rb

Overview

Coordinates the entire process: Extract -> Build -> Transform -> Export

Instance Method Summary collapse

Methods included from Log

#log_debug, #log_error, #log_info, #log_warn

Methods included from Configuration

#config, #create_config, #register_config

Instance Method Details

#processObject



20
21
22
23
24
25
26
27
# File 'lib/cure/coordinator.rb', line 20

def process
  # need to check config is init'd

  extracted_csv = extract
  built_csv = build(extracted_csv)
  transformed_csv = transform(built_csv)
  export(transformed_csv)
end