Pass on the include_private parameter in Faraday.respond_to?

This commit is contained in:
Josh Lubaway 2016-04-05 22:36:11 -07:00
parent 4f0e5455d5
commit 2ed4908308

View File

@ -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