Bitly

fun Bitly(accessToken: String)

Creates a new instance using an API Access Token.

Parameters

accessToken

The API access token.

fun Bitly(properties: Properties, key: String = Constants.ENV_ACCESS_TOKEN)

Creates a new instance using a Properties and Property Key.

Parameters

properties

The properties.

key

The property key containing the API Access Token.

fun Bitly(propertiesFilePath: Path, key: String = Constants.ENV_ACCESS_TOKEN)

Creates a new instance using a Properties File Path and Property Key.

Parameters

propertiesFilePath

The properties file path.

key

The property key containing the API Access Token.

fun Bitly(propertiesFile: File, key: String = Constants.ENV_ACCESS_TOKEN)

Creates a new instance using a Properties File and Property Key.

Parameters

propertiesFile

The properties file.

key

The property key containing the API Access Token.

fun Bitly()

Creates new instance.