Class: RedshiftExtractor::Extractor
- Inherits:
-
Object
- Object
- RedshiftExtractor::Extractor
- Defined in:
- lib/redshift_extractor/extractor.rb
Instance Method Summary collapse
- #config ⇒ Object
-
#initialize(args) ⇒ Extractor
constructor
A new instance of Extractor.
- #run ⇒ Object
Constructor Details
#initialize(args) ⇒ Extractor
Returns a new instance of Extractor.
3 4 5 |
# File 'lib/redshift_extractor/extractor.rb', line 3 def initialize(args) @args = args end |
Instance Method Details
#config ⇒ Object
7 8 9 |
# File 'lib/redshift_extractor/extractor.rb', line 7 def config @config ||= OpenStruct.new(@args) end |
#run ⇒ Object
11 12 13 14 |
# File 'lib/redshift_extractor/extractor.rb', line 11 def run unload copy end |