Module: RedshiftETL::Extract

Defined in:
lib/redshift_etl/extract.rb,
lib/redshift_etl/extract/file_maker.rb,
lib/redshift_etl/extract/database_fetcher.rb

Defined Under Namespace

Classes: DatabaseFetcher, FileMaker

Class Method Summary collapse

Class Method Details

.call(config) ⇒ Object



8
9
10
11
12
13
# File 'lib/redshift_etl/extract.rb', line 8

def self.call(config)
  db         = DatabaseFetcher.new(config)
  file_maker = FileMaker.new(config)

  file_maker.run(db)
end