Module: TerraspacePluginAws

Extended by:
TerraspacePluginAws
Included in:
TerraspacePluginAws
Defined in:
lib/terraspace_plugin_aws.rb,
lib/terraspace_plugin_aws/clients.rb,
lib/terraspace_plugin_aws/logging.rb,
lib/terraspace_plugin_aws/version.rb,
lib/terraspace_plugin_aws/autoloader.rb

Defined Under Namespace

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

Constant Summary collapse

VERSION =
"0.6.1"
@@logger =
nil

Instance Method Summary collapse

Instance Method Details

#configObject



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

def config
  Interfaces::Config.instance.config
end

#configure(&block) ⇒ Object

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

TerraspacePluginAws.configure do |config|
  config.s3.encrypt = true
end


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

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

#loggerObject



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

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

#logger=(v) ⇒ Object



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

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