public function resourced($url, Model $model, array $attributes = [])
    {
        $method = 'POST';
        if ($model->exists) {
            $url    = "{$url}/{$model->getKey()}";
            $method = 'PUT';
        }
        array_set($attributes, 'method', $method);
        $this->with($model);
        $this->attributes(array_merge($attributes, [
            'url'    => handles($url),
            'method' => $method,
        ]));
        return $this;
    }