Account.php 914 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. class Services_Twilio_Rest_Account extends Services_Twilio_InstanceResource {
  3. protected function init($client, $uri) {
  4. $this->setupSubresources(
  5. 'applications',
  6. 'available_phone_numbers',
  7. 'outgoing_caller_ids',
  8. 'calls',
  9. 'conferences',
  10. 'incoming_phone_numbers',
  11. 'media',
  12. 'messages',
  13. 'notifications',
  14. 'outgoing_callerids',
  15. 'recordings',
  16. 'sms_messages',
  17. 'short_codes',
  18. 'tokens',
  19. 'transcriptions',
  20. 'connect_apps',
  21. 'authorized_connect_apps',
  22. 'usage_records',
  23. 'usage_triggers',
  24. 'queues',
  25. 'sip',
  26. 'addresses'
  27. );
  28. $this->sandbox = new Services_Twilio_Rest_Sandbox(
  29. $client, $uri . '/Sandbox'
  30. );
  31. }
  32. }