Closed dentarg closed 9 years ago
Oh, the body from the API is empty...
#<Faraday::Response:0x007fb82ce94300
@env=
#<struct Faraday::Env
method=:get,
body="",
url=
#<URI::HTTPS:0x007fb82cea4e30 URL:https://api.twingly.com/analytics/Analytics.ashx?documentlang=&key=KEY_REMOVED&searchpattern=&ts=2015-09-21+12%3A37%3A12&tsTo=&xmloutputversion=2>,
request=
#<struct Faraday::RequestOptions
params_encoder=nil,
proxy=nil,
bind=nil,
timeout=nil,
open_timeout=nil,
boundary=nil,
oauth=nil>,
request_headers={"User-Agent"=>"Twingly Analytics Ruby Client/2.0.0"},
ssl=
#<struct Faraday::SSLOptions
verify=true,
ca_file=nil,
ca_path=nil,
verify_mode=nil,
cert_store=nil,
client_cert=nil,
client_key=nil,
certificate=nil,
private_key=nil,
verify_depth=nil,
version=nil>,
parallel_manager=nil,
params=nil,
response=nil,
response_headers=
{"server"=>"nginx",
"date"=>"Tue, 22 Sep 2015 10:37:14 GMT",
"content-length"=>"0",
"connection"=>"close",
"cache-control"=>"private",
"set-cookie"=>"SERVERID=web01; path=/"},
status=200>,
@on_complete_callbacks=[]>