I think it would make more sense for the `if` block to be up here:

```ruby
data = get_web_content(gist_url)

if data.code.to_i == 302
  data = handle_gist_redirecting(data)
end

if data.code.to_i != 200
  # ...
end

cache(gist, file, data.body) unless @cache_disabled

data.body
```