Might be simpler to just `to_i` on the status.

```ruby
"200 OK".to_i # => 200
```