Sha256: 220aac7ed965c702b4cf2ed30a3719e14c50226b58467e551184ac973fbd6779
Contents?: true
Size: 384 Bytes
Versions: 5
Compression:
Stored size: 384 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 "Please see https://bitbucket.org/swisstxt/cloudstack-cli under 'Setup'" exit end end end end
Version data entries
5 entries across 5 versions & 1 rubygems