Changeset View
Changeset View
Standalone View
Standalone View
externals/twilio-php/Services/Twilio/Rest/CredentialListMappings.php
- This file was added.
| Property | Old Value | New Value |
|---|---|---|
| File Mode | null | 100755 |
| <?php | |||||
| class Services_Twilio_Rest_CredentialListMappings extends Services_Twilio_SIPListResource { | |||||
| /** | |||||
| * Creates a new CredentialListMapping instance | |||||
| * | |||||
| * Example usage: | |||||
| * | |||||
| * .. code-block:: php | |||||
| * | |||||
| * $client->account->sip->domains->get('SDXXX')->credential_list_mappings->create("CLXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"); | |||||
| * | |||||
| * :param string $credential_list_sid: the sid of the CredentialList you're adding to this domain. | |||||
| * :param array $params: a single array of parameters which is serialized and | |||||
| * sent directly to the Twilio API. | |||||
| */ | |||||
| public function create($credential_list_sid, $params = array()) { | |||||
| return parent::_create(array( | |||||
| 'CredentialListSid' => $credential_list_sid, | |||||
| ) + $params); | |||||
| } | |||||
| } | |||||