Sha256: 9bf502d77df954fc4765c39f2a1d1a16e215d937bc02ccb23b77109a20109cf7
Contents?: true
Size: 365 Bytes
Versions: 1
Compression:
Stored size: 365 Bytes
Contents
module CloudstackClient class ConnectionHelper def self.load_configuration(config_file = File.join(File.dirname(__FILE__), '..', '..', 'config', 'cloudstack.yml')) begin return YAML::load(IO.read(config_file)) rescue Exception => e puts "Unable to load '#{config_file}' : #{e}".color(:red) exit end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cloudstack-cli-0.0.1 | lib/cloudstack-client/helper.rb |