Sip.php 505 B

12345678910111213141516171819
  1. <?php
  2. /**
  3. * For Linux filename compatibility, this file needs to be named Sip.php, or
  4. * camelize() needs to be special cased in setupSubresources
  5. */
  6. class Services_Twilio_Rest_Sip extends Services_Twilio_InstanceResource {
  7. protected function init($client, $uri) {
  8. $this->setupSubresources(
  9. 'domains',
  10. 'ip_access_control_lists',
  11. 'credential_lists'
  12. );
  13. }
  14. public function getResourceName($camelized = false) {
  15. return "SIP";
  16. }
  17. }