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

Method invocation may produce 'NoMethodError' #409

Open
tit opened this issue Jul 7, 2019 · 0 comments
Open

Method invocation may produce 'NoMethodError' #409

tit opened this issue Jul 7, 2019 · 0 comments

Comments

@tit
Copy link
Contributor

tit commented Jul 7, 2019

I use RubyMine IDE and gem HTTPClient.

# frozen_string_literal: true

require 'httpclient'

client = HTTPClient.new
response = client.get 'https://httpbin.org/get'

body = response.body # <<- SEE HERE

puts body

Why RubyMine have warning about Method invocation may produce 'NoMethodError'?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant