Class: ErrorResponse::Configuration
- Inherits:
-
Object
- Object
- ErrorResponse::Configuration
- Defined in:
- lib/error_response/configuration.rb
Instance Attribute Summary collapse
-
#yaml_config_path ⇒ Object
Returns the value of attribute yaml_config_path.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 |
# File 'lib/error_response/configuration.rb', line 7 def initialize @yaml_config_path = ENV['YAML_CONFIG_PATH'] || 'config/error_response.yml' end |
Instance Attribute Details
#yaml_config_path ⇒ Object
Returns the value of attribute yaml_config_path.
5 6 7 |
# File 'lib/error_response/configuration.rb', line 5 def yaml_config_path @yaml_config_path end |