Module: SimpleDeployer

Defined in:
lib/simple_deployer.rb,
lib/simple_deployer/client.rb,
lib/simple_deployer/config.rb,
lib/simple_deployer/command.rb

Defined Under Namespace

Modules: Command Classes: Config, Service

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject

Returns the value of attribute config.



7
8
9
# File 'lib/simple_deployer.rb', line 7

def config
  @config
end

.serviceObject

Returns the value of attribute service.



7
8
9
# File 'lib/simple_deployer.rb', line 7

def service
  @service
end

Class Method Details

.configure {|config| ... } ⇒ Object

Yields:



10
11
12
13
14
# File 'lib/simple_deployer.rb', line 10

def configure()
    SimpleDeployer.config ||= Config.new
    yield(config)
    SimpleDeployer.service = Service.new(config.access_key, config.secret_key, :config=>config)
end