expose false options in Faraday::Options#to_hash

This commit is contained in:
rick 2013-05-13 15:21:05 -06:00
parent 50023ad11d
commit ab13cac5d5

View File

@ -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