lib/ezclient/request.rb in ezclient-0.2.0 vs lib/ezclient/request.rb in ezclient-0.3.0

- old
+ new

@@ -55,10 +55,10 @@ # RUBY25: Hash#slice options.select { |key| [:params, :form, :json, :body, :headers].include?(key) } end def timeout - options[:timeout] + options[:timeout]&.to_f end def on_complete options[:on_complete] || proc {} end