This commit is contained in:
Erik C. Thauvin 2020-03-02 10:25:52 -08:00
parent 71a911e2ff
commit 93407fbf8f
2 changed files with 4 additions and 2 deletions

View file

@ -44,7 +44,7 @@ import java.util.logging.Level
* *
* See the [Bitly API](https://dev.bitly.com/v4/#tag/Bitlinks) for more information. * See the [Bitly API](https://dev.bitly.com/v4/#tag/Bitlinks) for more information.
*/ */
open class Bitlinks(val accessToken: String) { open class Bitlinks(private val accessToken: String) {
/** /**
* Returns the click counts for a specified Bitlink. * Returns the click counts for a specified Bitlink.
* *

View file

@ -100,7 +100,9 @@ open class Bitly() {
@JvmOverloads @JvmOverloads
constructor(propertiesFile: File, key: String = Constants.ENV_ACCESS_TOKEN) : this(propertiesFile.toPath(), key) constructor(propertiesFile: File, key: String = Constants.ENV_ACCESS_TOKEN) : this(propertiesFile.toPath(), key)
/** Bitlinks accessor. **/ /**
* Bitlinks accessor.
*/
fun bitlinks(): Bitlinks = Bitlinks(accessToken) fun bitlinks(): Bitlinks = Bitlinks(accessToken)
/** /**