From d95bbf6f2a089a986767e0a28e73223517a7a2a6 Mon Sep 17 00:00:00 2001 From: Matt Jia Date: Fri, 6 Aug 2021 12:47:25 +1000 Subject: [PATCH] Fixes #33222 - fix respond_to signature --- lib/runcible/response.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/runcible/response.rb b/lib/runcible/response.rb index 7884599b..1efe276a 100644 --- a/lib/runcible/response.rb +++ b/lib/runcible/response.rb @@ -7,8 +7,8 @@ def initialize(parsed_body, rest_client_response) @parsed_body = parsed_body end - def respond_to?(name) - @parsed_body.respond_to?(name) || @rest_client_response.respond_to?(name) + def respond_to?(name, include_all=false) + @parsed_body.respond_to?(name, include_all) || @rest_client_response.respond_to?(name, include_all) end def ==(other)