Module: Cloudstack
- Defined in:
- lib/cloudstack.rb,
lib/cloudstack/api.rb,
lib/cloudstack/railtie.rb,
lib/cloudstack/version.rb
Defined Under Namespace
Constant Summary collapse
- VERSION =
'1.0.1'
Class Method Summary collapse
-
.config ⇒ Object
Gives access to the current configuration.
-
.configure {|config| ... } ⇒ Object
Allows easy setting of multiple configuration options.
Class Method Details
.config ⇒ Object
Gives access to the current configuration
8 9 10 |
# File 'lib/cloudstack.rb', line 8 def self.config @configuration ||= Configuration.new end |
.configure {|config| ... } ⇒ Object
Allows easy setting of multiple configuration options. See Configuration for all available options.
14 15 16 17 |
# File 'lib/cloudstack.rb', line 14 def self.configure config = self.config yield(config) end |