We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 739eddd + 059fec7 commit 52344c9Copy full SHA for 52344c9
2 files changed
lib/cloudflare/connection.rb
@@ -535,7 +535,7 @@ def send_req(params)
535
end
536
537
req = Net::HTTP::Post.new(uri.path)
538
- req.set_form_data(params)
+ req.set_form_data(params.reject{|k, v| v.nil?})
539
540
http = Net::HTTP.new(uri.host, uri.port)
541
http.use_ssl = true
lib/cloudflare/version.rb
@@ -19,5 +19,5 @@
19
# THE SOFTWARE.
20
21
module CloudFlare
22
- VERSION = '2.0.2'
+ VERSION = '2.0.3'
23
0 commit comments