Class: Groupped::Settings::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



11
12
13
14
# File 'lib/groupped/settings/configuration.rb', line 11

def initialize
  @logger = Logger.new(STDOUT, level: Logger::INFO, progname: 'Groupped::Settings')
  @base = ::ActiveRecord::Base
end

Instance Attribute Details

#baseObject

Returns the value of attribute base.



9
10
11
# File 'lib/groupped/settings/configuration.rb', line 9

def base
  @base
end

#loggerObject

Returns the value of attribute logger.



9
10
11
# File 'lib/groupped/settings/configuration.rb', line 9

def logger
  @logger
end