Skip to content

Commit

Permalink
Fixes #33222 - fix respond_to signature
Browse files Browse the repository at this point in the history
  • Loading branch information
matt8754 committed Aug 6, 2021
1 parent 4a3b311 commit d95bbf6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/runcible/response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d95bbf6

Please sign in to comment.