def get(query, values = {})
      begin
        #puts "#{@api_call}#{query}#{@formatting}"
        request_value = api_request(query) 

        req = Net::HTTP::Get.new("#{request_value}#{@formatting}", @headers)
        req.set_form_data(values)

        resp = @conn.request(req)
        
      rescue
        raise("Get query failed.\n Query string is #{request_value}#{@formatting}")
      end
      return resp
    end
def get(query, values = {})
      begin
        #puts "#{@api_call}#{query}#{@formatting}"
        request_value = api_request(query) 

        req = Net::HTTP::Get.new("#{request_value}#{@formatting}", @headers)
        req.set_form_data(values)

        resp = @conn.request(req)
        
      rescue
        raise("Get query failed.\n Query string is #{request_value}#{@formatting}")
      end
      return resp
    end
Initialize the connection with account information.
 Return an object that can then later be used to make calls
 against the RightScale API without authenticating again.
 Inputs:
   format = xml or js
   version = 1.0 # 1.5 to be supported soon
   verify_ssl = true|false # For windows machines to prevent SSL error from being thrown.
 Do a GET request against RightScale API