Module: GoogleDirectory

Defined in:
lib/google-directory.rb,
lib/google-directory/config.rb,
lib/google-directory/version.rb

Defined Under Namespace

Classes: Client, Config, MissingConfiguration, MissingYAMLConfiguration, YamlTokenStore

Constant Summary collapse

VERSION =
"0.0.6"

Class Method Summary collapse

Class Method Details

.configurationObject



21
22
23
# File 'lib/google-directory/config.rb', line 21

def self.configuration
	@config || (fail MissingConfiguration.new)
end

.configure(&block) ⇒ Object



17
18
19
# File 'lib/google-directory/config.rb', line 17

def self.configure(&block)
	@config = Config::Builder.new(&block).build
end