Cleanup.
This commit is contained in:
parent
71a911e2ff
commit
93407fbf8f
2 changed files with 4 additions and 2 deletions
|
@ -44,7 +44,7 @@ import java.util.logging.Level
|
|||
*
|
||||
* 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.
|
||||
*
|
||||
|
|
|
@ -100,7 +100,9 @@ open class Bitly() {
|
|||
@JvmOverloads
|
||||
constructor(propertiesFile: File, key: String = Constants.ENV_ACCESS_TOKEN) : this(propertiesFile.toPath(), key)
|
||||
|
||||
/** Bitlinks accessor. **/
|
||||
/**
|
||||
* Bitlinks accessor.
|
||||
*/
|
||||
fun bitlinks(): Bitlinks = Bitlinks(accessToken)
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue