Class: Forty::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration



13
14
15
16
17
18
19
# File 'lib/forty/configuration.rb', line 13

def initialize
  @logger = ::Logger.new(STDOUT)
  @logger.level = ::Logger::INFO
  @logger.formatter = proc do |severity, _, _, message|
    "[Forty] [#{severity}] #{message}\n"
  end
end

Instance Attribute Details

#acl_fileObject

Returns the value of attribute acl_file.



10
11
12
# File 'lib/forty/configuration.rb', line 10

def acl_file
  @acl_file
end

#generate_passwordsObject

Returns the value of attribute generate_passwords.



11
12
13
# File 'lib/forty/configuration.rb', line 11

def generate_passwords
  @generate_passwords
end

#loggerObject

Returns the value of attribute logger.



7
8
9
# File 'lib/forty/configuration.rb', line 7

def logger
  @logger
end

#master_usernameObject

Returns the value of attribute master_username.



8
9
10
# File 'lib/forty/configuration.rb', line 8

def master_username
  @master_username
end

#schemasObject

Returns the value of attribute schemas.



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

def schemas
  @schemas
end