Method: Nimbu::Auth.read_configuration
- Defined in:
- lib/nimbu/auth.rb
.read_configuration ⇒ Object
153 154 155 156 157 158 159 160 |
# File 'lib/nimbu/auth.rb', line 153 def read_configuration existing_config = YAML::load(File.open( configuration_file )) if File.exists?(configuration_file) if existing_config && ! existing_config["site"].nil? existing_config else nil end end |