Method: HTTPX::Options.new

Defined in:
lib/httpx/options.rb

.new(options = {}) ⇒ Object



15
16
17
18
19
20
21
# File 'lib/httpx/options.rb', line 15

def new(options = {})
  # let enhanced options go through
  return options if self == Options && options.class > self
  return options if options.is_a?(self)

  super
end