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
-
.config ⇒ Object
Returns the value of attribute config.
-
.service ⇒ Object
Returns the value of attribute service.
Class Method Summary collapse
Class Attribute Details
.config ⇒ Object
Returns the value of attribute config.
7 8 9 |
# File 'lib/simple_deployer.rb', line 7 def config @config end |
.service ⇒ Object
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
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 |