lib/rb-urlvoid/client.rb
def query_api(path)
      with_http_error_handling do
        res = RestClient.get(endpoint + path)
        h = Hash.from_xml(res.body)
        h["response"]
      end
    end
# Send a query to URLVoid API
#
# @param [String] path URL path
# @return [Hash] Parsed response
Send a query to URLVoid API
Send a query to URLVoid API
def query_api(path)
      with_http_error_handling do
        res = RestClient.get(endpoint + path)
        h = Hash.from_xml(res.body)
        h["response"]
      end
    end
def query_api ( path ) with_http_error_handling do res = RestClient . get ( endpoint + path ) h = Hash . from_xml ( res . body ) h [ "response" ] end end
Send a query to URLVoid API
Send a query to URLVoid API
None
Hash
path
path URL path
path URL path