lib/httpx/options.rb in httpx-0.19.8 vs lib/httpx/options.rb in httpx-0.20.0
- old
+ new
@@ -130,16 +130,21 @@
end
def freeze
super
@origin.freeze
+ @base_path.freeze
@timeout.freeze
@headers.freeze
@addresses.freeze
end
def option_origin(value)
URI(value)
+ end
+
+ def option_base_path(value)
+ String(value)
end
def option_headers(value)
Headers.new(value)
end