lib/cloudflare/connection.rb in cloudflare-2.0.2 vs lib/cloudflare/connection.rb in cloudflare-2.0.3

- old
+ new

@@ -533,10 +533,10 @@ params[:host_key] = @params[:api_key] uri = URI(URL_API[:host]) end req = Net::HTTP::Post.new(uri.path) - req.set_form_data(params) + req.set_form_data(params.reject{|k, v| v.nil?}) http = Net::HTTP.new(uri.host, uri.port) http.use_ssl = true http.read_timeout = TIMEOUT