Class: BeetleETL::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/beetle_etl.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

#databaseObject

Returns the value of attribute database.



32
33
34
# File 'lib/beetle_etl.rb', line 32

def database
  @database
end

#database_configObject

Returns the value of attribute database_config.



32
33
34
# File 'lib/beetle_etl.rb', line 32

def database_config
  @database_config
end

#external_sourceObject

Returns the value of attribute external_source.



32
33
34
# File 'lib/beetle_etl.rb', line 32

def external_source
  @external_source
end

#loggerObject

Returns the value of attribute logger.



32
33
34
# File 'lib/beetle_etl.rb', line 32

def logger
  @logger
end

#stage_schemaObject

Returns the value of attribute stage_schema.



32
33
34
# File 'lib/beetle_etl.rb', line 32

def stage_schema
  @stage_schema
end

#target_schemaObject

Returns the value of attribute target_schema.



32
33
34
# File 'lib/beetle_etl.rb', line 32

def target_schema
  @target_schema
end

#transformation_fileObject

Returns the value of attribute transformation_file.



32
33
34
# File 'lib/beetle_etl.rb', line 32

def transformation_file
  @transformation_file
end