ok

Mini Shell

Direktori : /home2/selectio/public_html/fms-worksuite/vendor/macsidigital/laravel-zoom/src/
Upload File :
Current File : /home2/selectio/public_html/fms-worksuite/vendor/macsidigital/laravel-zoom/src/Poll.php

<?php

namespace MacsiDigital\Zoom;

use MacsiDigital\Zoom\Support\Model;

class Poll extends Model
{
    protected $insertResource = 'MacsiDigital\Zoom\Requests\StorePoll';
    protected $storeResource = 'MacsiDigital\Zoom\Requests\UpdatePoll';

    protected $endPoint = '/meetings/{meeting:id}/polls';

    protected $allowedMethods = ['find', 'get', 'post', 'put', 'delete'];

    protected $apiMultipleDataField = 'polls';

    public function getApiMultipleDataField()
    {
        return $this->apiMultipleDataField;
    }

    public function questions()
    {
        return $this->hasMany(PollQuestion::class);
    }
}

Zerion Mini Shell 1.0