public function setIp($attribute)
    {
        $this->owner->updateAttributes(array_fill_keys((array)$attribute, $this->getValue(null)));
    }
public function setIp($attribute)
    {
        $this->owner->updateAttributes(array_fill_keys((array)$attribute, $this->getValue(null)));
    }
public function setIp ( $ attribute ) { $ this -> owner -> updateAttributes ( array_fill_keys ( ( array ) $ attribute , $ this -> getValue ( null ) ) ) ; }
Sets an IP address to the attribute.

```php
$model->setIp('updated_ip');
```
@param string $attribute the name of the attribute to update.
Sets an IP address to the attribute .