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)