def to_s
      parts = @query_hash.sort.inject([]) do |arr, (key,value)|
        if value.kind_of?(Array)
          value.each do |nested|
            arr << "%s=%s" % [key, nested]
          end
        else
          arr << "%s=%s" % [key, value]
        end
        arr
      end
      parts.join('&')
    end
def to_s
      parts = @query_hash.sort.inject([]) do |arr, (key,value)|
        if value.kind_of?(Array)
          value.each do |nested|
            arr << "%s=%s" % [key, nested]
          end
        else
          arr << "%s=%s" % [key, value]
        end
        arr
      end
      parts.join('&')
    end
Creates a new QueryHashParser instance

 @param query_hash [Hash] A hash of key/values to turn into a query stringo

 @return [void]
 Returns the hash (key/values) as an ordered query string. This joins the keys and values, and then
 joins it all with the ampersand. This is not escaped

 @return [String]