String#include? returns Boolean (true or false) so remove `!= nil` so the line reads

```ruby
if (res and res.code == 200 and res.body.include?(EHEALTH_FINGERPRINT))
```