Module: TerraspacePluginGoogle

Extended by:
TerraspacePluginGoogle
Included in:
TerraspacePluginGoogle
Defined in:
lib/terraspace_plugin_google.rb,
lib/terraspace_plugin_google/clients.rb,
lib/terraspace_plugin_google/logging.rb,
lib/terraspace_plugin_google/version.rb,
lib/terraspace_plugin_google/autoloader.rb

Defined Under Namespace

Modules: Clients, Interfaces, Logging Classes: Autoloader, Error

Constant Summary collapse

VERSION =
"0.5.0"
@@logger =
nil

Instance Method Summary collapse

Instance Method Details

#configObject



21
22
23
# File 'lib/terraspace_plugin_google.rb', line 21

def config
  Interfaces::Config.instance.config
end

#configure(&block) ⇒ Object

Friendlier method for config/plugins/google.rb. Example:

TerraspacePluginGoogle.configure do |config|
  config.gcs.versioning = true
end


17
18
19
# File 'lib/terraspace_plugin_google.rb', line 17

def configure(&block)
  Interfaces::Config.instance.configure(&block)
end

#loggerObject



26
27
28
# File 'lib/terraspace_plugin_google.rb', line 26

def logger
  @@logger ||= Terraspace.logger
end

#logger=(v) ⇒ Object



30
31
32
# File 'lib/terraspace_plugin_google.rb', line 30

def logger=(v)
  @@logger = v
end