Sha256: d7aa43e40b3c74a25e51f8e59b68c47db5aebf2d9a0e5c4b5e95cd95f08aa738
Contents?: true
Size: 365 Bytes
Versions: 2
Compression:
Stored size: 365 Bytes
Contents
module CloudstackClient class ConnectionHelper def self.load_configuration(config_file) begin return YAML::load(IO.read(config_file)) rescue Exception => e $stderr.puts "Can't find the config file #{config_file}." $stderr.puts "To create a new configuration file run \"cs setup\"." exit end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cloudstack-cli-0.1.2 | lib/cloudstack-client/helper.rb |
cloudstack-cli-0.1.1 | lib/cloudstack-client/helper.rb |