lib/httpx/adapters/faraday.rb in httpx-0.9.0 vs lib/httpx/adapters/faraday.rb in httpx-0.10.0
- old
+ new
@@ -119,10 +119,10 @@
@on_complete
end
end
def respond_to_missing?(meth)
- @env.respond_to?(meth)
+ @env.respond_to?(meth) || super
end
def method_missing(meth, *args, &blk)
if @env && @env.respond_to?(meth)
@env.__send__(meth, *args, &blk)