Dirigible::DeviceRegistration.delete_device_token(token) returns a 204 response and a nil body.  Change body == ‘’ to body.blank? to handle two different types of empty response bodies.