Module: Cloudstack

Defined in:
lib/cloudstack.rb,
lib/cloudstack/api.rb,
lib/cloudstack/railtie.rb,
lib/cloudstack/version.rb

Defined Under Namespace

Classes: Api, Railtie

Constant Summary collapse

VERSION =
'1.0.1'

Class Method Summary collapse

Class Method Details

.configObject

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.

Yields:



14
15
16
17
# File 'lib/cloudstack.rb', line 14

def self.configure
  config = self.config
  yield(config)
end