We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d83c295 commit cabb3adCopy full SHA for cabb3ad
src/main/java/dev/resms/ReSMS.java
@@ -1,5 +1,6 @@
1
package dev.resms;
2
3
+import dev.resms.services.otp.Otp;
4
import dev.resms.services.sms.Sms;
5
import lombok.RequiredArgsConstructor;
6
@@ -17,4 +18,13 @@ public class ReSMS {
17
18
public Sms sms() {
19
return new Sms(apiKey);
20
}
21
+
22
+ /**
23
+ * Returns an Otp object that can be used to interact with the Otp service.
24
+ *
25
+ * @return An Otp object.
26
+ */
27
+ public Otp otp() {
28
+ return new Otp(apiKey);
29
+ }
30
0 commit comments