Sha256: eb31537ee945d021917187621ca9e96d45aaf763b2cbff75c928bd71e34486c1

Contents?: true

Size: 307 Bytes

Versions: 6

Compression:

Stored size: 307 Bytes

Contents

module GoogleAppsApi

  def self.load_yaml_configs
    result = {}
    Dir.glob(File.dirname(__FILE__) + "/config/*.yml").each do |file|
        result.merge!(YAML::load(File.open(file)))
    end
    
    return result
  end

  @@config = GoogleAppsApi::load_yaml_configs
  
  mattr_reader :config
  
  
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
google_apps_api-0.3.2 lib/load_config.rb
google_apps_api-0.3.1 lib/load_config.rb
google_apps_api-0.3.0 lib/load_config.rb
google_apps_api-0.2.2 lib/load_config.rb
google_apps_api-0.2.1 lib/load_config.rb
google_apps_api-0.1.0 lib/load_config.rb