Skip to content

Commit 3a56e2d

Browse files
committed
fix respond_to signature
1 parent 4a3b311 commit 3a56e2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/runcible/response.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ def initialize(parsed_body, rest_client_response)
77
@parsed_body = parsed_body
88
end
99

10-
def respond_to?(name)
11-
@parsed_body.respond_to?(name) || @rest_client_response.respond_to?(name)
10+
def respond_to?(name, include_all=false)
11+
@parsed_body.respond_to?(name, include_all) || @rest_client_response.respond_to?(name, include_all)
1212
end
1313

1414
def ==(other)

0 commit comments

Comments
 (0)