Module: ZimbraInterceptingProxy::Yamler

Defined in:
lib/zimbra_intercepting_proxy/yamler.rb

Class Method Summary collapse

Class Method Details

.dbObject



6
7
8
9
10
11
12
13
14
# File 'lib/zimbra_intercepting_proxy/yamler.rb', line 6

def self.db
  begin
    YAML.load_file ZimbraInterceptingProxy::Config.migrated_users_file  
  rescue Psych::SyntaxError => e
    puts "ERROR Yaml File: #{e}"
    return false
  end
  
end