Skip to content

Commit

Permalink
Formalise v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SMadani committed Jun 25, 2024
1 parent 41742c2 commit c9be5ba
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [0.1.0] - 2024-06-25

Initial version, unreleased to public.

### Added
- Messages API
- Verify v2 API

2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@
<configuration>
<serverId>nexus-releases</serverId>
<nexusUrl>${nexusUrl}</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
<autoReleaseAfterClose>false</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
Expand Down
1 change: 0 additions & 1 deletion src/main/kotlin/com/vonage/client/kt/Vonage.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ class Vonage constructor(init: VonageClient.Builder.() -> Unit) {
private val vonageClient : VonageClient = VonageClient.builder().apply(init).build();
val messages = Messages(vonageClient.messagesClient)
val verify = Verify(vonageClient.verify2Client)

}

fun VonageClient.Builder.authFromEnv(): VonageClient.Builder {
Expand Down
9 changes: 9 additions & 0 deletions src/test/kotlin/com/vonage/client/kt/VonageTest.kt
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
package com.vonage.client.kt

import org.junit.jupiter.api.Test
import kotlin.test.assertNotNull

class VonageTest {

@Test
fun `auth from env`() {
val vonage = Vonage { authFromEnv() }
assertNotNull(vonage)
}
}

0 comments on commit c9be5ba

Please sign in to comment.