mirror of
https://github.com/lostisland/faraday.git
synced 2025-11-17 00:02:28 -05:00
expose false options in Faraday::Options#to_hash
This commit is contained in:
parent
50023ad11d
commit
ab13cac5d5
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user