From 2ed4908308d5f932da01a3ef5a7f16afe3a23fce Mon Sep 17 00:00:00 2001 From: Josh Lubaway Date: Tue, 5 Apr 2016 22:36:11 -0700 Subject: [PATCH] Pass on the `include_private` parameter in `Faraday.respond_to?` --- lib/faraday.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/faraday.rb b/lib/faraday.rb index b27cbc67..bd588224 100644 --- a/lib/faraday.rb +++ b/lib/faraday.rb @@ -93,7 +93,7 @@ module Faraday alias require_lib require_libs def respond_to?(symbol, include_private = false) - default_connection.respond_to?(symbol) || super + default_connection.respond_to?(symbol, include_private) || super end private