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 containing the API Access Token.

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 file path of the properties containing the API Access Token.

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 containing the API Access Token.

key

The property key containing the API Access Token.

fun Bitly()

Creates new instance.