Browse code

Added README.md appinfo/info.xml appinfo/signature.json lib/Controller/AuthorApiController.php and the providers directory

DoubleBastionAdmin authored on 20/08/2022 16:33:00
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,24 @@
1
+<?php
2
+
3
+namespace Telnyx\PhoneNumber;
4
+
5
+/**
6
+ * Class Messaging
7
+ *
8
+ * @package Telnyx
9
+ */
10
+class Messaging extends \Telnyx\ApiResource
11
+{
12
+    const OBJECT_NAME = "messaging_settings";
13
+
14
+    use \Telnyx\ApiOperations\All;
15
+    
16
+    /**
17
+     * @return string The endpoint URL for the given class.
18
+     */
19
+    public static function classUrl()
20
+    {
21
+        // NOTE: This comes from ApiResource.php, but we override this because it is an endpoint with a singular ending.
22
+        return "/v2/phone_numbers/messaging";
23
+    }
24
+}