From ab13cac5d5428f6b636fa64f6e7ab3ae4df8aa90 Mon Sep 17 00:00:00 2001 From: rick Date: Mon, 13 May 2013 15:21:05 -0600 Subject: [PATCH] expose false options in Faraday::Options#to_hash --- lib/faraday/options.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/faraday/options.rb b/lib/faraday/options.rb index 2b17d5e2..095bc81c 100644 --- a/lib/faraday/options.rb +++ b/lib/faraday/options.rb @@ -67,7 +67,7 @@ module Faraday hash = {} members.each do |key| value = send(key) - hash[key.to_sym] = value if value + hash[key.to_sym] = value unless value.nil? end hash end