Class: SourcedConfig::Configuration
- Inherits:
-
Object
- Object
- SourcedConfig::Configuration
- Defined in:
- lib/sourced_config.rb
Instance Attribute Summary collapse
-
#base_configuration_file_path ⇒ Object
Returns the value of attribute base_configuration_file_path.
-
#config_schema_klass ⇒ Object
Returns the value of attribute config_schema_klass.
-
#config_type ⇒ Object
Returns the value of attribute config_type.
-
#configuration_bucket ⇒ Object
Returns the value of attribute configuration_bucket.
-
#configuration_bucket_region ⇒ Object
Returns the value of attribute configuration_bucket_region.
-
#configuration_file_path ⇒ Object
Returns the value of attribute configuration_file_path.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_path ⇒ Object
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_klass ⇒ Object
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_type ⇒ Object
Returns the value of attribute config_type.
28 29 30 |
# File 'lib/sourced_config.rb', line 28 def config_type @config_type end |
#configuration_bucket ⇒ Object
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_region ⇒ Object
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_path ⇒ Object
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 |