Fixed README links

This commit is contained in:
Erik C. Thauvin 2022-09-23 23:38:28 -07:00
parent a41119d195
commit 3a5b0cb427
2 changed files with 4 additions and 4 deletions

View file

@ -11,7 +11,7 @@ val joke = getJoke()
val safe = getJoke(safe = true) val safe = getJoke(safe = true)
val pun = getJoke(category = Category.PUN) val pun = getJoke(category = Category.PUN)
``` ```
The parameters match the [joke endpoint](/https://v2.jokeapi.dev/#joke-endpoint). The parameters match the [joke endpoint](https://v2.jokeapi.dev/#joke-endpoint).
A `Joke` class instance is returned: A `Joke` class instance is returned:
@ -53,7 +53,7 @@ class HttpErrorException(
cause: Throwable? = null cause: Throwable? = null
) : IOException(message, cause) ) : IOException(message, cause)
``` ```
- View more [examples](https://github.com/ethauvin/jokeapi/blob/master/src/test/kotlin/net/thauvin/erik/jokeapi/Exceptions.kt)... - View more [examples](https://github.com/ethauvin/jokeapi/blob/master/src/test/kotlin/net/thauvin/erik/jokeapi/ExceptionsTest.kt)...
## Gradle, Maven, etc. ## Gradle, Maven, etc.
To use with [Gradle](https://gradle.org/), include the following dependency in your build file: To use with [Gradle](https://gradle.org/), include the following dependency in your build file:
@ -112,7 +112,7 @@ println(lang)
error: false error: false
code: "fr" code: "fr"
``` ```
- View more [examples](https://github.com/ethauvin/jokeapi/blob/master/src/test/kotlin/net/thauvin/erik/jokeapi/Exceptions.kt)... - View more [examples](https://github.com/ethauvin/jokeapi/blob/master/src/test/kotlin/net/thauvin/erik/jokeapi/ApiCallTest.kt)...

View file

@ -1,5 +1,5 @@
/* /*
* JokeApiTest.kt * GetJokeTest.kt
* *
* Copyright (c) 2022, Erik C. Thauvin (erik@thauvin.net) * Copyright (c) 2022, Erik C. Thauvin (erik@thauvin.net)
* All rights reserved. * All rights reserved.