{"action":"opened","issue":{"url":"https://api.github.com/repos/the-cocktail/kickbox_rails/issues/3","labels_url":"https://api.github.com/repos/the-cocktail/kickbox_rails/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/the-cocktail/kickbox_rails/issues/3/comments","events_url":"https://api.github.com/repos/the-cocktail/kickbox_rails/issues/3/events","html_url":"https://github.com/the-cocktail/kickbox_rails/issues/3","id":110538710,"number":3,"title":"fallback with dead connection seems to have an issue","user":{"login":"throttleup","id":5807496,"avatar_url":"https://avatars.githubusercontent.com/u/5807496?v=3","gravatar_id":"","url":"https://api.github.com/users/throttleup","html_url":"https://github.com/throttleup","followers_url":"https://api.github.com/users/throttleup/followers","following_url":"https://api.github.com/users/throttleup/following{/other_user}","gists_url":"https://api.github.com/users/throttleup/gists{/gist_id}","starred_url":"https://api.github.com/users/throttleup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/throttleup/subscriptions","organizations_url":"https://api.github.com/users/throttleup/orgs","repos_url":"https://api.github.com/users/throttleup/repos","events_url":"https://api.github.com/users/throttleup/events{/privacy}","received_events_url":"https://api.github.com/users/throttleup/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-08T20:51:58Z","updated_at":"2015-10-08T20:51:58Z","closed_at":null,"body":"https://github.com/the-cocktail/kickbox_rails/blob/master/lib/kickbox_rails.rb#L22\r\n\r\n```ruby\r\n throw Exception unless response['success']\r\n```\r\n\r\nbut in https://github.com/the-cocktail/kickbox_rails/blob/master/lib/kickbox_api.rb#L27\r\nresponse is \r\n\r\n```ruby\r\n { 'success' => 'false' }\r\n```\r\n\r\n`!!'false'` == true` # string comparison where a FalseClass is expected"}}