{"action":"opened","issue":{"url":"https://api.github.com/repos/Cielo24/cielo24-ruby/issues/2","labels_url":"https://api.github.com/repos/Cielo24/cielo24-ruby/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Cielo24/cielo24-ruby/issues/2/comments","events_url":"https://api.github.com/repos/Cielo24/cielo24-ruby/issues/2/events","html_url":"https://github.com/Cielo24/cielo24-ruby/issues/2","id":119953486,"number":2,"title":"Will raise JSON::ParserError if response contains no JSON in body","user":{"login":"davidcollie","id":4258418,"avatar_url":"https://avatars.githubusercontent.com/u/4258418?v=3","gravatar_id":"","url":"https://api.github.com/users/davidcollie","html_url":"https://github.com/davidcollie","followers_url":"https://api.github.com/users/davidcollie/followers","following_url":"https://api.github.com/users/davidcollie/following{/other_user}","gists_url":"https://api.github.com/users/davidcollie/gists{/gist_id}","starred_url":"https://api.github.com/users/davidcollie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidcollie/subscriptions","organizations_url":"https://api.github.com/users/davidcollie/orgs","repos_url":"https://api.github.com/users/davidcollie/repos","events_url":"https://api.github.com/users/davidcollie/events{/privacy}","received_events_url":"https://api.github.com/users/davidcollie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-02T14:28:58Z","updated_at":"2015-12-02T14:28:58Z","closed_at":null,"body":"If no JSON is present in the body or the JSON is invalid it would be preferable to raise a default `Cielo24::WebError` that includes the HTTP response code rather than `JSON::ParserError`\r\n\r\nhttps://github.com/Cielo24/cielo24-ruby/blob/master/cielo24_gem/lib/cielo24/web_utils.rb#L36"}}