Class: Eras::Config
- Inherits:
-
Object
- Object
- Eras::Config
- Defined in:
- lib/eras/config.rb
Instance Attribute Summary collapse
-
#adapter ⇒ Object
Returns the value of attribute adapter.
-
#ignored_error_classes ⇒ Object
Returns the value of attribute ignored_error_classes.
-
#reporting_envs ⇒ Object
Returns the value of attribute reporting_envs.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
7 8 9 10 11 |
# File 'lib/eras/config.rb', line 7 def initialize @adapter = Eras::Adapters::FileSystem.new @ignored_error_classes = [] @reporting_envs = %w[development] end |
Instance Attribute Details
#adapter ⇒ Object
Returns the value of attribute adapter.
5 6 7 |
# File 'lib/eras/config.rb', line 5 def adapter @adapter end |
#ignored_error_classes ⇒ Object
Returns the value of attribute ignored_error_classes.
5 6 7 |
# File 'lib/eras/config.rb', line 5 def ignored_error_classes @ignored_error_classes end |
#reporting_envs ⇒ Object
Returns the value of attribute reporting_envs.
5 6 7 |
# File 'lib/eras/config.rb', line 5 def reporting_envs @reporting_envs end |