Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

httparty: Fixed return type of HTTParty::Response#parsed_response #469

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion gems/httparty/0.18/_test/test_1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion gems/httparty/0.18/httparty.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down