/home/desid573/book.familycab.com.au/pdd/app/Vendor/Services/Twilio
Edit: /home/desid573/book.familycab.com.au/pdd/app/Vendor/Services/Twilio/TrunkingListResource.php (1160B)
getResourceName(true);
/*
* By default trim the 's' from the end of the list name to get the
* instance name (ex Accounts -> Account). This behavior can be
* overridden by child classes if the rule doesn't work.
*/
if (!isset($this->instance_name)) {
$this->instance_name = "Services_Twilio_Rest_Trunking_" . rtrim($name, 's');
}
parent::__construct($client, $uri);
}
/**
* Create a new Trunk instance
*
* Example usage:
*
* .. code-block:: php
*
* $trunkingClient->trunks->create(array(
* "FriendlyName" => "TestTrunk",
* "DomainName" => "test.pstn.twilio.com"
* ));
*
* :param array $params: a single array of parameters which is serialized and
* sent directly to the Twilio API.
*
*/
public function create($params = array()) {
return parent::_create($params);
}
}