Class: HTTPClient

Inherits:
Object
  • Object
show all
Defined in:
lib/wary/utils/http_client.rb

Instance Method Summary collapse

Instance Method Details

#get_response(url) ⇒ Object



5
6
7
8
# File 'lib/wary/utils/http_client.rb', line 5

def get_response(url)
  uri = URI(url)
  Net::HTTP.get_response(uri)
end