lib/httpx/session2.rb in httpx-1.3.1 vs lib/httpx/session2.rb in httpx-1.3.2
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
require_relative "session"
module HTTPX
class Session
- def initialize(options = EMPTY_HASH, &blk)
+ def initialize(options = EMPTY, &blk)
@options = self.class.default_options.merge(options)
@responses = {}
@persistent = @options.persistent
wrap(&blk) if blk
end