Sha256: 547b68225e03889e2835233a8bdc8b7ea1978c9022154a762d31dd7090a494db

Contents?: true

Size: 266 Bytes

Versions: 2

Compression:

Stored size: 266 Bytes

Contents

module CloudstackClient
  class ConnectionHelper
    def self.load_configuration(config_file)
      begin
        return YAML::load(IO.read(config_file))
      rescue => e
        puts "Unable to load '#{config_file}' : #{e}"
        exit
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cloudstack_client-0.7.0 lib/connection_helper.rb
cloudstack_client-0.6.1 lib/connection_helper.rb