Changeset View
Changeset View
Standalone View
Standalone View
externals/twilio-php/Services/Twilio/Rest/Queues.php
- This file was added.
| Property | Old Value | New Value |
|---|---|---|
| File Mode | null | 100755 |
| <?php | |||||
| class Services_Twilio_Rest_Queues | |||||
| extends Services_Twilio_ListResource | |||||
| { | |||||
| /** | |||||
| * Create a new Queue | |||||
| * | |||||
| * @param string $friendly_name The name of this queue | |||||
| * @param array $params A list of optional parameters, and their values | |||||
| * @return Services_Twilio_Rest_Queue The created Queue | |||||
| */ | |||||
| function create($friendly_name, array $params = array()) { | |||||
| return parent::_create(array( | |||||
| 'FriendlyName' => $friendly_name, | |||||
| ) + $params); | |||||
| } | |||||
| } | |||||