lib/hubspot/connection.rb in hubspot-ruby-0.2.0 vs lib/hubspot/connection.rb in hubspot-ruby-0.2.1

- old
+ new

@@ -66,10 +66,10 @@ query = params.map do |k,v| v.is_a?(Array) ? v.map { |value| param_string(k,value) } : param_string(k,v) end.join("&") - path += "?" if query.present? + p path += path.include?('?') ? '&' : "?" if query.present? base_url + path + query end # convert into milliseconds since epoch def converted_value(value)