Class: SipoMailer::Config

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

Defined Under Namespace

Classes: ConfigMissing

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



12
13
14
15
16
17
# File 'lib/sipo_mailer/config.rb', line 12

def initialize
  Installer.install unless File.exist? Installer.config
  load_yaml
  check_config
  mailer_init
end

Instance Attribute Details

#yamlObject

Returns the value of attribute yaml.



10
11
12
# File 'lib/sipo_mailer/config.rb', line 10

def yaml
  @yaml
end