diff --git a/gems/httparty/0.18/_test/test_1.rb b/gems/httparty/0.18/_test/test_1.rb index bc7e2fd2..e4b43d91 100644 --- a/gems/httparty/0.18/_test/test_1.rb +++ b/gems/httparty/0.18/_test/test_1.rb @@ -23,7 +23,8 @@ def users end end -Foo.get('https://reqres.in') +api_response = Foo.get('https://reqres.in') +api_response.parse_response Foo.mkcol('https://reqris.in') Foo.lock('https://reqres.in') Foo.unlock('https://reqres.in') diff --git a/gems/httparty/0.18/httparty.rbs b/gems/httparty/0.18/httparty.rbs index ce56d1f1..92c45a3f 100644 --- a/gems/httparty/0.18/httparty.rbs +++ b/gems/httparty/0.18/httparty.rbs @@ -424,7 +424,7 @@ module HTTParty def initialize: (HTTParty::Request request, untyped response, String parsed_block, ?Hash[untyped, untyped] options) -> instance - def parsed_response: () -> String + def parsed_response: () -> Object def code: () -> Integer