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 f8a8fd2 commit 57b6ebcCopy full SHA for 57b6ebc
src/main/java/dev/resms/ReSMS.java
@@ -18,8 +18,7 @@ public class ReSMS {
18
* @param timeoutSeconds HTTP request timeout in seconds
19
*/
20
public ReSMS(@NonNull String apiKey, int timeoutSeconds) {
21
- ReSMSConfig config = new ReSMSConfig(apiKey, timeoutSeconds);
22
- this.smsService = new SmsService(config);
+ this(new ReSMSConfig(apiKey, timeoutSeconds));
23
}
24
25
/**
@@ -28,8 +27,7 @@ public ReSMS(@NonNull String apiKey, int timeoutSeconds) {
28
27
* @param apiKey API key for authentication
29
30
public ReSMS(@NonNull String apiKey) {
31
- ReSMSConfig config = new ReSMSConfig(apiKey);
32
+ this(new ReSMSConfig(apiKey));
33
34
35
public ReSMS(@NonNull ReSMSConfig config) {
0 commit comments