Method: Ungulate::CurlHttp#get_body

Defined in:
lib/ungulate/curl_http.rb

#get_body(url) ⇒ Object



10
11
12
13
# File 'lib/ungulate/curl_http.rb', line 10

def get_body(url)
  @logger.info "GET via HTTP: #{url}"
  @easy.http_get(url).body_str
end