Class: Eras::Config

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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

#adapterObject

Returns the value of attribute adapter.



5
6
7
# File 'lib/eras/config.rb', line 5

def adapter
  @adapter
end

#ignored_error_classesObject

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_envsObject

Returns the value of attribute reporting_envs.



5
6
7
# File 'lib/eras/config.rb', line 5

def reporting_envs
  @reporting_envs
end