Module: GoogleClient

Defined in:
lib/google_client.rb,
lib/google_client/builder.rb,
lib/google_client/version.rb,
lib/google_client/configuration.rb

Defined Under Namespace

Classes: Builder, Configuration

Constant Summary collapse

VERSION =
'0.0.5'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



11
12
13
# File 'lib/google_client/configuration.rb', line 11

def configuration
  @configuration
end

Class Method Details

.authorizationObject



23
24
25
# File 'lib/google_client/configuration.rb', line 23

def self.authorization
  configuration.authorization
end

.clientObject



19
20
21
# File 'lib/google_client/configuration.rb', line 19

def self.client
  configuration.client
end

.configure {|configuration| ... } ⇒ Object

Yields:



14
15
16
17
# File 'lib/google_client/configuration.rb', line 14

def self.configure
  self.configuration ||= Configuration.new
  yield(configuration)
end