Skip to content

Commit

Permalink
refactor: camelCase SMS
Browse files Browse the repository at this point in the history
  • Loading branch information
SMadani committed Jul 4, 2024
1 parent fb4e1ca commit 7068d33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
package com.vonage.client.kt

import com.vonage.client.messages.InboundMessage
import com.vonage.client.sms.*
import com.vonage.client.sms.messages.*

class SMS(private val smsClient: SmsClient) {
class Sms(private val smsClient: SmsClient) {

private fun send(msgObj: Message, statusReport: Boolean?, ttl: Int?,
messageClass: Message.MessageClass?, clientRef: String?,
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/com/vonage/client/kt/Vonage.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Vonage(init: VonageClient.Builder.() -> Unit) {
val messages = Messages(vonageClient.messagesClient)
val verify = Verify(vonageClient.verify2Client)
val voice = Voice(vonageClient.voiceClient)
val sms = SMS(vonageClient.smsClient)
val sms = Sms(vonageClient.smsClient)
}

fun VonageClient.Builder.authFromEnv(): VonageClient.Builder {
Expand Down

0 comments on commit 7068d33

Please sign in to comment.