Class: ErrorResponse::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_pathObject

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