Lines 33-34 would be better as:

```ruby
[200, 204].include? result.status
```

This will return either true or false.