Class: BeetleETL::Configuration
- Inherits:
-
Object
- Object
- BeetleETL::Configuration
- Defined in:
- lib/beetle_etl.rb
Instance Attribute Summary collapse
-
#database ⇒ Object
Returns the value of attribute database.
-
#database_config ⇒ Object
Returns the value of attribute database_config.
-
#external_source ⇒ Object
Returns the value of attribute external_source.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#stage_schema ⇒ Object
Returns the value of attribute stage_schema.
-
#target_schema ⇒ Object
Returns the value of attribute target_schema.
-
#transformation_file ⇒ Object
Returns the value of attribute transformation_file.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
41 42 43 44 |
# File 'lib/beetle_etl.rb', line 41 def initialize @target_schema = 'public' @logger = ::Logger.new(STDOUT) end |
Instance Attribute Details
#database ⇒ Object
Returns the value of attribute database.
32 33 34 |
# File 'lib/beetle_etl.rb', line 32 def database @database end |
#database_config ⇒ Object
Returns the value of attribute database_config.
32 33 34 |
# File 'lib/beetle_etl.rb', line 32 def database_config @database_config end |
#external_source ⇒ Object
Returns the value of attribute external_source.
32 33 34 |
# File 'lib/beetle_etl.rb', line 32 def external_source @external_source end |
#logger ⇒ Object
Returns the value of attribute logger.
32 33 34 |
# File 'lib/beetle_etl.rb', line 32 def logger @logger end |
#stage_schema ⇒ Object
Returns the value of attribute stage_schema.
32 33 34 |
# File 'lib/beetle_etl.rb', line 32 def stage_schema @stage_schema end |
#target_schema ⇒ Object
Returns the value of attribute target_schema.
32 33 34 |
# File 'lib/beetle_etl.rb', line 32 def target_schema @target_schema end |
#transformation_file ⇒ Object
Returns the value of attribute transformation_file.
32 33 34 |
# File 'lib/beetle_etl.rb', line 32 def transformation_file @transformation_file end |