Class: SourcedConfig::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



35
36
37
38
# File 'lib/sourced_config.rb', line 35

def initialize
  @config_schema_klass = ConfigContract
  @base_configuration_file_path = Rails.root.join("config/config.yml.erb")
end

Instance Attribute Details

#base_configuration_file_pathObject

Returns the value of attribute base_configuration_file_path.



28
29
30
# File 'lib/sourced_config.rb', line 28

def base_configuration_file_path
  @base_configuration_file_path
end

#config_schema_klassObject

Returns the value of attribute config_schema_klass.



28
29
30
# File 'lib/sourced_config.rb', line 28

def config_schema_klass
  @config_schema_klass
end

#config_typeObject

Returns the value of attribute config_type.



28
29
30
# File 'lib/sourced_config.rb', line 28

def config_type
  @config_type
end

#configuration_bucketObject

Returns the value of attribute configuration_bucket.



28
29
30
# File 'lib/sourced_config.rb', line 28

def configuration_bucket
  @configuration_bucket
end

#configuration_bucket_regionObject

Returns the value of attribute configuration_bucket_region.



28
29
30
# File 'lib/sourced_config.rb', line 28

def configuration_bucket_region
  @configuration_bucket_region
end

#configuration_file_pathObject

Returns the value of attribute configuration_file_path.



28
29
30
# File 'lib/sourced_config.rb', line 28

def configuration_file_path
  @configuration_file_path
end